Python program to loop through a list of numbers and print it

Advertisements
Advertisements
Advertisements3
Advertisements4
Advertisements6
Advertisements66
#Write a code to loop through a list of numbers and print it using python
numbers = [10, 20, 30, 40, 50]

for x in numbers:
    print(x)


Author: Lakshmi Prasanna Ponnala

Completed M.Tech in Digital Electronics and Communication Systems.

Leave a Reply

error: Content is protected !!

Discover more from ece4uplp

Subscribe now to keep reading and get access to the full archive.

Continue reading