I am writing a game "choose your own adventure style" in python (terminal-based), and I would like the program to pause printing until the enter button is pressed. Here is an example.
print("zzzzzzzzz")
press enter to continue. Then, after pressing the enter button, this block will work.
print("yyyyyy")
Python 3 is preferred.
source share