Hello World Program in Python

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

hello world


Step 2-Select file tab
Step 3-Open New File (ctrl+N)
Step 4-Type-
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

hello world


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”

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

Hello World Program in Python

Input a welcome message and display it in Python

Display the larger / smaller number in Python.

Greatest of Three Numbers in Python using Nested if

Patterns using nested loop in Python

Program to Print Pattern in Python

Program to input the value of x and n and sum of series in Python

Python Program for Armstrong, Prefect Number, Palindrome

Program of Prime number by recursion in python

Prime Number Program in Python

Write a Program to Print Fibonacci Series in Python

LCM and GCD program in Python

Python program to count number of vowels in a string

Whether a String is Palindrome or not in Python

Bubble Sort Program in Python

Linear search in python using list

Program to read a text file in python

Python program to read a file line by line

Program to Count Vowels and Consonants in Python

Stack Program in Python

Queue Program in Python

Python Leap Year Program for Beginners

Python Program to Print Series and Addition

Binary Search Program in Python

Program to find sum of digits in python

Sum of numbers divisible by 3 and 5 in python