PYTHON  FIRST PROGRAM

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/helloworld.py

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

Output for the program

 Contact Us:

                  codecalculatenr@gmail.com

 

About Us : 

        Code Calculate is the biggest online platform