2014-08-21 05:25:47

okay the subject is a little weird but let me explain I want to make a program  that calculates the tip at a restaurant and I know how to do this just fine but how can I tell the program not to end after the result is entered because I only catch like the first litter of the last print statment

nvda is my life

Thumbs up

2014-08-21 05:35:38

raw_input("Press return to exit")


If you wish to be more complex let me know.
Have you looked at:
Learn Python the Hard Way?
It goes over all of this quite well.

Thumbs up

2014-08-21 05:36:45

What version are you using?
2.7 is
raw_input("> ")
in 3.x it is:
input("> ")

Thumbs up