We can execute a Python program in the following ways:
You can run Python on the command prompt in two ways:
1) The Conventional way
Search for Command Prompt, and type the following:
A print statement is used in above code to display a specific text.
2) Running the Program using Python in-built IDLE
Open the Start menu. Click on IDLE (Python 3.9). This will open IDLE where you can type your program.
A calculator like operation performed on the Python prompt in the above example which uses IDLE.
Python is very well documented. There might even be copies of documents on your computer, which came with your Python installation.
The home page of Python documentation is at:
You can visit this site for complete and updated documentation.
The official Python Tutorial by Guido van Rossum is often a good starting point for general questions.
If you need quick information about any function or statement in Python, then you can use the built-in help functionality. This is very useful especially when using the interpreter prompt. For example, run help(‘len’) – this displays the help for the len function which is used to count number of items.