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

Hi, I’m Pramod Kumar Yadav & a computer science Engineer with 3years of experience in Digital marketing. I’m self-motivated and love to do SEO.

2 thoughts on “Python Hello World Program”

Leave a Reply

%d bloggers like this: