Today we are going to start with a very basic program of any computer language called ” Hello World”. This program print output as “Hello World”. Let us start with basics of Python and print the first program for beginners. You will also find the source code and Python code file at this post. The Hello World Program in Python main program runs on source code of new file created of python IDLE. This project is the most basic project for KV CBSE Class 11 and 12 students and beginners. It is also useful for computer B Tech, Computer basic, BSC computer science.
I hope, you have already downloaded Python from the https://www.python.org/ and know to open the IDLE file. This is the first example of how simple and powerful is python.
Step 1- Open the python IDLE Tab
Step 2-Select file tab
Step 3-Open New File (ctrl+N)
print(“Hello world”) #print is a function which show/print on output screen. ( Note:# line are used for comment and it not the part of main program. You may write or ignore it)
Step 5- Save this file
Note- This File Extension py
Step 6-Run this File
Step 7-Tab Run -> F5
Output-Project python shell window appear and show the output “Hello world”
So, this is how Hello world program in python is working. First step toward learning python is successful.
source code of python program- click here