+ 1
Why this code doesn't gives output?
3 ответов
+ 21
What output are you expecting,
Try
words = ["hello", "world", "spam", "eggs"]
a=0
while a<=5:
print ( words )
a=a+1
0
i expected the words until the value of a<=5
for practise of loop
0
thanks i got it finally