Categories
Python

for loop

Mine002

x=[5,2,5,2,2]
for y in x:
print( ‘x’*y )

Leave a Reply