Python language hello world program
In this tutorial, we will discuss the concept of python language hello world program.
Python is a widely used high-level programming language. It is a very simple and easily understandable programming language. It has very simple syntax and easy to declare data.(No need for external data declaration.);
We have to use the built-in or predefined print() function to display the line(String) ‘Hello world ‘.
Strings are enclosed inside single quotes, double quotes or triple quotes
This is the first program displayed on your screen “hello world”
First, make sure, you have installed python in your computer.
Then, open python IDLE(Python GUI)
To run directly on python shell
Type the code given below
Write the program given below and press enter.
Output
Then click on save the file .py extension
Then, run the program
Output here
Related Post