Writing our first Python 🐍 Program!!

Today we will be writing our first program in Python Language. I know you have been waiting for a long to do this.

Let’s get to business and start writing our first python program. Follow the below steps:

i. Open Pydriod3 and create a new file in it.

ii. Keep in mind the file name should not match any module name, like- flask. py etc

After creating a new file, type.

print(“Hello World”)

So this is our first python program, is a simple one in which we are displaying (Hello World) in the terminal.

NOTE :

i. The p in print should be in small case.

ii. The (Hello World) should be on double quote or in single quote.(Because it is a string)

Your task 🏠 to do.

Print your name in python.

So, that’s all in this tutorial. See you in the next one, where we will see how to use python as a calculator! 

Published by Jay_007

Nothing special here...

One thought on “Writing our first Python 🐍 Program!!

Leave a comment

Design a site like this with WordPress.com
Get started