Python Hello World Program

print("Hello World")

Just one line will print Hello World by python Interpreter where as in other programming languages we need to write many number of lines, The following code in python IDLE

We can write programs in separated files in IDLE. Opening new file in python IDLE (shell)

  File -> New File

Write print("Hello World") in that file and 'save as' 'helloworld' in any folder. The automatc extension is '.py' for that file. I saved the file in D:/codecalculate/programs/Python/

Click on "Run -> Run Module" (or) press F5 to run file (

Output for the program

 Contact Us: