0
I want to display a list of names i.e one name per line. How can i do that?
3 Answers
+ 3
x = ['a','b']
print(x) #['a', 'b'] is output.
0
bt i want : output as: a
b
0
names = ['rose','david']
for i in range(len(names)):
print(names[i])
output:
'rose'
'david'