Python Hello World keeps closing itself -


i'm new programming. i''ve wrote everybody's first program , , executes right before closing itself. how can add pause program?

modify code this, learn below function enough:

print('hello world!') input() 

now @ end of program won't exit until press return.

or better still, run code in shell idle don't have worry that.


Comments

Popular posts from this blog

Change the color of an oval at click in Java AWT -

c# - MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(3243,9): error MSB4094 -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -