Create a Python File

Python File


- First, create a folder whose named "Python".

- Then, create a python file, for Example: "Chirag.py".

- In python (.py) is the extension of the python file.

- Let's write our first program in our first Python file, called helloworld.py, which can be opened in any text editor.

- Let’s write our first python program called:

- print("Hello World")

- Execute it then the output will come:

- Hello World

- Congratulations, you have successfully executed your first Python program.

Comments