1# Save the script in a file with .py extension
2# run the script using the below command
3python fileName.py
1# press [windows] + [R] (on windows only)
2# use the command : cd/the_way_of_your_program
3# and now use this command :
4
5py the_name_of_your_program.py
6
7# don't forget to write the extension (py for python)
8# at the end of your program name
1>>> print('Hello World!')
2
3>>> 2 + 5
47
5>>> print('Welcome to Real Python!')
6Welcome to Real Python!
7