On 11/05/17 02:50, Rafael Skovron wrote:
> 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
Because i can go as high as 4 (from range(1,5)->1,2,3,4).
So lets consider that fin
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
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mai