same variable with multiple values
same variable with multiple values Question: This is a very simplified version of my actual code in another file: import keyboard def main(): test() def test(): yes = input("enter a ").lower() if yes == "a": test2() def test2(): i = 0 key = "esc" while True: i += 1 if keyboard.is_pressed(key): print(i) # press the …