[Tutor] Simple while loop question

Rafael Skovron rskovron at gmail.com
Wed May 10 21:50:43 EDT 2017


I dont understand why j can have any value other than zero in this:

for i in range(1, 5):

j = 0

while j < i:

print(j, end = " ")

j += 1


More information about the Tutor mailing list