+ 1
30th Dec 2017, 12:52 PM
game rex
game rex - avatar
3 Answers
+ 21
What output are you expecting, Try words = ["hello", "world", "spam", "eggs"] a=0 while a<=5: print ( words ) a=a+1
30th Dec 2017, 12:54 PM
Frost
Frost - avatar
0
i expected the words until the value of a<=5 for practise of loop
30th Dec 2017, 12:56 PM
game rex
game rex - avatar
0
thanks i got it finally
30th Dec 2017, 1:00 PM
game rex
game rex - avatar