-1

I was making a terminal-type program with python and I was wondering if I could make it print the next line of text after you press enter e.g

 `print('this was a triumph')
 #press enter to print the next line
 print('Im making a note here, huge success!')`
Toto Briac
  • 908
  • 9
  • 29
Alyx
  • 1
  • 7
    Use `input('Press enter to print next line')` – dwb Jan 19 '21 at 09:00
  • 1
    possible duplicate of https://stackoverflow.com/questions/983354/how-do-i-make-python-wait-for-a-pressed-key – Umlin Jan 19 '21 at 09:02
  • 3
    Does this answer your question? [How do I make python wait for a pressed key?](https://stackoverflow.com/questions/983354/how-do-i-make-python-wait-for-a-pressed-key) – Umlin Jan 19 '21 at 09:02

1 Answers1

2

You could try:

input('this was a triumph')
input('Im making a note here, huge success!')

or:

print('this was a triumph')
input('Press Enter To Continue:')
print('Im making a note here, huge success!')
Dharman
  • 30,962
  • 25
  • 85
  • 135
The Pilot Dude
  • 2,091
  • 2
  • 6
  • 24