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
Multiply two numbers in Java using scanner| 5 different ways In this article, we will…
5 Different ways to Divide two numbers in Java using scanner In this article, we…
Learn 8 Ways to Subtract Two Numbers Using Methods in Java In this article, we…
10 ways to subtract two numbers in Java In this article, we will discuss the…
Java Code Examples – Multiply Two Numbers in 5 Easy Ways In this article, we…
How to Divide two numbers in Java| 5 different ways In this article, we will…
This website uses cookies.