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
<div>
<div>print("Hi dingo bongo")</div>
</div>

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

<div>
<div>py main.py</div>
</div>
Lets change to something else
<div>
<div>print("This is my first program in python")</div>
</div>
# Lets Run the program

Source Code

<div>
<div>print("Hi dingo bongo")</div>
</div>
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: