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.
- 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
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")