Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
added 80 characters in body
Source Link
jamylak
  • 134.5k
  • 30
  • 238
  • 240

add an empty raw_input() at the end to pause until you press Enter

print("Enter two Numbers\n") a = int(raw_input('A=')) b = int(raw_input('B=')) c=a+b print ('C= %s' %c) raw_input() # waits for you to press enter 

Alternatively run it from IDLE, command line, or whichever editor you use.

add an empty raw_input() at the end to pause until you press Enter

print("Enter two Numbers\n") a = int(raw_input('A=')) b = int(raw_input('B=')) c=a+b print ('C= %s' %c) raw_input() # waits for you to press enter 

add an empty raw_input() at the end to pause until you press Enter

print("Enter two Numbers\n") a = int(raw_input('A=')) b = int(raw_input('B=')) c=a+b print ('C= %s' %c) raw_input() # waits for you to press enter 

Alternatively run it from IDLE, command line, or whichever editor you use.

Source Link
jamylak
  • 134.5k
  • 30
  • 238
  • 240

add an empty raw_input() at the end to pause until you press Enter

print("Enter two Numbers\n") a = int(raw_input('A=')) b = int(raw_input('B=')) c=a+b print ('C= %s' %c) raw_input() # waits for you to press enter