1. Python

Writing the first “Hello World” Python program: Example for Hello World in Python

Python Hello World Example

“Hello World” is the first step in learning the Python programming language and one of the easiest programs to learn. All you have to do is display the message “Hello World” on the screen.

Printing messages on the screen is very easy in Python programming language. To print the string in Python 3, just write

To write “Hello World”, open the command line text editor, create a new file and save it in a file :

print("Hello World.")

Save it with a suffix .py – helloworld.py or (myfirstprogram.py)

Output:

"Hello World."

Congratulations! You have just written your first Python program. Here click and learn python programming.