Here we will discuss or see how will write simple Python Hello World Program. In every language, this is very first step you can say to print some text, so here we will see here Python program to print hello world. It’s very python basics program to start learning.
As we know that we can write python program in command line interpreter or we can use some IDE also. So, we will see here both the methods to print hello world program in python.
Using Command Line interpreter:
Here we see to print Python Hello World in CMD mode, so open your terminal. You need to just type simple command Print command to print something on console, so here we will use.
print(“hello World”) to print hello world program in python.
It is so simple to print anything. As we have print hello world in python.
Now we will use Python IDE to print same hello world program in python.
Here I am using Spyder IDE, I am writing the same code in my Spyder IDE, and after saving the file with .py extension, when I run the program it gave me same output and we successful executed python program to print hello world.
We can use other IDE like eclipse, NetBeans also, or even we can also use notepad, notepad++ or any text editor to run python program to print hello world.
So Guys, we have simply see that how we can print Hello world program in Python.