Run python in windows machine
You can download python3 for windows from the below mentioned site
You can download python3 for windows from the below mentioned site
Download and install it, then open the command prompt and type python
After typing python and clicking enter, you will get into the python shell.
Now you can write a print statement to run a basic python program after ">>>"
This line is used to print the message "This is the first python program"
print is a function in python to display message. the message can be inside single quotes or double quotes
>>> print('This is the first python program')
(OR)
>>> print("This is the first python program")
both are correct
In next post we can see about getting input and printing that with a static message.
No comments:
Post a Comment