How to make a line of code only execute once in a loop in python3 code example
Example: how to make code only go once python
run_once = 0
while 1:
if run_once == 0:
myFunction()
run_once = 1:
run_once = 0
while 1:
if run_once == 0:
myFunction()
run_once = 1: