+ 1
For loops reapeats the code inside it foreach element in a list or foreach element in a range object. example: Mylist = [1, 2, 3, "4"] for i in Mylist: print("Hello world!") >>> Hello world! Hello world! Hello world! Hello world! Hello world! >>> If this didn't help, I suggest you to repeat the lesson about for loops
11th Apr 2018, 10:43 AM
Seb TheS
Seb TheS - avatar