import threading
def bananas():
threading.Timer(1,bananas).start()
money += bananaPrice
while True:
print(money)
print(f"[1] Upgrade Bananas: {bananaUpgrade}")
o = int(input("> "))
How do I keep updating the "money" variable as it increases while staying in the input without being glitchy while running?
Edit: I am currently using os.system("cls")