This question has already been answered:
item = 5 for i in range(item): item -= 1 print(i, range(item), item) I'm confused about something, how is it that when range (0, 1) i = 3 and in general, what is happening here and how does it work? Why i reaches the end, although item is decreasing, shouldn't it be finished earlier.
Please explain in more detail, thanks in advance for the answer to my stupid question.
правитьbutton - gil9redrange()does not work that way there. - Enikeyschik