| |
| |
| |
How to write your first Python program |
| |
| To create your first program , follow these steps: |
|
How to install python |
|
| Open your Start menu and choose Python (command line). |
|
| You should get a prompt that looks like >>>. |
|
| At the moment, you're doing everything in interactive mode in the Python interpreter. |
| That's where the >>> comes in. Python shows you >>> when you're supposed to type something. |
|
| At the prompt, type the following. Use a single quote at the start and the end — it's beside the Enter key: |
|
| |
print('This is my first program !!') |
| |
|
| Press the Enter key. |
|
| Python runs the code you typed. |
|
| |
 |
| | |
|
Download Python Tutorial Release 3.7.0 |