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.
- py filename.py
- 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>