I wrote the following code:
i = 0
active = i==0
while active == True:
(the two last lines of code are of course indented so they follow the while loop).
The problem it prints always true , true , true … , but the i value is being changed so active is false after the first increment , can you explain this please ? Thank you.