Open Menu dzosoft
Close Menu dzosoft



Nord VPN

Publish perfectly-optimized content in 1-click


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.

How to write your first Python program

Download Python Tutorial Release 3.7.0

It might also interest you

How to install Python on Windows

How to lock PC with voice command using Python

How to connect MySQL database using Connector/Python

How to draw shapes with python

How to create read and write to a file in python

How to create your own personal assistant using ChatGPT and Python

How to create and initialize a Python dictionary

Leave comment

Save nickname and email in this browser for the next time.

close publicity
Hiding your face is not a solution!