Skip to main content

Python - Hello World!

Print Hello World in Python

Python is very simple and easy to use for print any message on screen use print statement. Python code is very simple and easy to run. Here we print message on screen Hello World!.
Python code save with .py extension.

Print hello world in python

a="Hello World!"  
print a  

Output

Hello World!

Explanation

  • variable store hello world string
  • print statement is used for display message on screen or console.

Comments