alexmojaki/birdseye

Condition in while loop does not depend on loop iteration

alexmojaki opened this issue · 0 comments

Sample script:

from birdseye import eye


@eye
def main():
    i = 0
    while i < 3:
        i += 1
        print(i)


main()

While the i in print(i) changes when changing the loop iteration, the one in i < 3 does not.