Notifications
Clear all

Python program to display elements of list.

   RSS

0
Topic starter

Output Example:

n=[1,2,3,4,5]
1
2
3
4
5

0
Topic starter

#To display elements of a list

 

n=[1,2,3,4,5,6,7,8,9,10]

for i in n:

    print(i)

Share: