You can use msvcrt on windows to allow the user to enter one value, then enter it without needing to actually pres the enter key.
import msvcrt #You will need this.
your_variable = msvcrt.getch() #Allows the user to enter a single value,
#then immediately enter it.
Side note: You cannot run this properly in the shell, just run it straight from your folder.
Also, in case you're feeling lazy, you can use my module that I created here, if you use it and notice any errors, please let me know as it would help me get better at python. I hope I helped you!