first program in python – tutorial # 1

first program in python – tutorial # 1

Hello guys,
How to print your name or Hello world in python?
very very simple
Just write the following

print("Hi dingo bongo")

How to run the program?

very very easy… just write the following in terminal.

  1. py filename.py
  2. python filename.py

In my case the file name is main.py . You can use any name.

so I will type in terminal


py main.py

Lets change to something else

print("This is my first program in python")

# Lets Run the program

Source Code


print("Hi dingo bongo")

Tony BB
 

TonyBB is a Coach , marketer, hypnotist and a founder of RSKVF Production who specializes in providing simple, affordable, and easy to use solutions for Life.

Click Here to Leave a Comment Below 0 comments

Leave a Reply: