tiny question, probably easily answerable, but if i have a program, that constantly loops, and i want to define a variable on the first loop, but then not redefine it on every next loop, but still make it changable in for example a function, how would i do that?
you can set a flag outside the loop and then set it to false after the first iteration another method is do enumerate