- On
- By
- 0 Comment
- Categories: Basic, Python basic
Hello world program in Python programming language
Hello world program in Python programming language
In this tutorial, we will learn aboutĀ the Hello world program in the Python programming language.
When you are new to the Python language, I say you can write a simple one-line program and run as soon as possible without any Python knowledge.
Hello world is a simple program and you can write used by a few lines of code
First, you must have installed python on your system or you can try in online python compiler.
We can use two types of work space to write and run the python program
1. Run using Python shell
2. Run Create the new file
How to use Python shell to hello world program
Open the Python IDLE(Python GUI)
Write the program given below and press enter
How to runĀ the hello world program from file
Go to file option and click the new file
Write the program given below
Save the file .py extension
Output Here
Hello world! Hello world! Hello world! Hello world!
In the above program, We have used the predefined(Built-in) print() function to display Hello world on the screen.
Suggested for you
Hello world in Java
Hello world in C++
Hello world in C