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
Subtract two numbers using method overriding Program 1
PHP Star triangle Pattern program Here's a simple Java program that demonstrates how to print…
Using Function or Method to Write to temperature conversion: Fahrenheit into Celsius In this article,…
Function or method of temperature conversion from Fahrenheit into Celsius In this article, we will…
Write temperature conversion program: from Fahrenheit to Celsius In this article, we will discuss the…
How to write a program to convert Fahrenheit into Celsius In this article, we will…
This website uses cookies.