Python Hello World Program

Python Program to Print Hello world!

Python is a powerful multi-purpose programming language created by Guido van Rossum.

It has simple easy-to-use syntax, making it the perfect language for someone trying to learn computer programming for the first time.

This is a comprehensive guide on how to get started in Python, why you should learn it, and how you can learn it.

However, if you have knowledge of other programming languages and want to quickly get started with Python, visit the Python tutorial page.

Why is python?

Python is a general-purpose language. Python has a wide range of applications from web development (Django and Bottle), scientific and mathematical computing (Orange, SymPy, NumPy) to desktop graphical user interfaces (Pygame, Panda3D).

The syntax of the language is clean and the length of the code is nearly short. It’s fun to work in Python because it permits you to think about the problem rather than focusing on the syntax

Way-1 to Create your First Python Program Hellow World

This all will print “Hello World” in a single line

eg:- Hello World

print('Hello World')

#or

print("Hello World")

#or

print("'Hello World'")

Output:

Python Program to Print Hello world!

Way-2 to Create your First Python Program Hellow World

print('Hello \nWorld') #\n Break two word and print in diff line

#or

print("Hello\tWorld") # \t --> Tab Space betweent two word

#or

print("Hellow "
"World")

print("Hellow" + "World") #String Concatination

Output:

Python Hello World Program

Recommended Post:

Get Salesforce Answers

Pramod Kumar Yadav is from Janakpur Dham, Nepal. He was born on December 23, 1994, and has one elder brother and two elder sisters. He completed his education at various schools and colleges in Nepal and completed a degree in Computer Science Engineering from MITS in Andhra Pradesh, India. Pramod has worked as the owner of RC Educational Foundation Pvt Ltd, a teacher, and an Educational Consultant, and is currently working as an Engineer and Digital Marketer.



2 thoughts on “Python Hello World Program”

Leave a Comment