Assuming that you have installed and set up python Environment on your computer, lets create our first Python program.
Example – first python program
To run your python program, follow the below mentioned steps:
- Save the file with .py extension (Eg: mypython.py).
- Open Command prompt and navigate to the folder where your program is saved.
- Type the following command – python mypython.py
Join the newsletter to get the latest updates.