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
Open the Python IDLE(Python GUI)
Write the program given below and press enter
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
C# inverted full pyramid star pattern In this article, we will discuss the concept of…
C# Full Pyramid star pattern program In this article, we will discuss the concept of…
Program to count vowels, consonants, words, characters and space in Java In this article, we…
How to print multiplication table using Array in C++ language In this post, we will…
C Program to multiplication table using Array In this tutorial , we will discuss about…
Java program to check odd or even using recursion In this tutorial, we discuss a…