My Experiments with Python

1. Check whether you have python installed

  1. In Windows go to command prompt
  2. Type python 








  1. I have encircled the version
  2. To quit, type quit() or Cntl + Z
  3. If python is not installed it will display "Python is not recognized", in that case try to download and install python from http://python.org/download.
First Python Program

Open up Notepad ++















How will i execute the program
  • Go to command prompt
  • Navigate the folder where the python file is saved
  • Execute the program by running the command : python
Results



No comments:

 Python Basics How to check the version of Python interpreter mac terminal

Popular in last 30 days