Thank you this worked!
I ALREADY tried that! The one that you suggested, the keyboard.
So, I can't find this code in my Repl's, but I did some research and figured that the function :
all I needed to do was:
keyboard_press = input() #create a variable if keyboard_press == '1': do this elif keyboard_press == '2': do this other thing
this worked perfectly for anyone who needs an answer