```py import keyboard,time,clear,random,os level = 1 xp = 10 xpadd = 0 def clear_terminal(): os.system('cls') print("Press Space to jump") while True: if keyboard.is_pressed("space"): toheight = random.randint(level * 2,level * 10) x = 0.5 for _ in range(1,toheight): clear_terminal() print(_,'meters') time.sleep(x) x /= 2 clear_terminal() print(_,'meters') print("You made it",toheight,'meters!') xpadd += random.randint(1,level * toheight) print("You got",xpadd,'xp!') if xpadd > xp: print("You leveled up!") level += 1 print("You are level",level,'Now!') xp *= 2 xpadd = 0 ``` if your bored, play this game!
please put your imports on separate lines