Day 1 - Beginning
Python was created by Guido van Rossum in 1991. Since then there are enhancements getting added. Current Python version is 3 which we will be using in our learning (as of 2020).
To start python you need to open Command prompt in Windows and then type python
or python3
or py
Here we will learn the basic print()
command and we will print different texts in the Python window.
print("Hello Everyone")
On on the first day we will get comfortable with our laptop and learn how to start Python and use it by simply printing some text. This will help you get used to this new way of working with computers, that is programming in computers.
I will highly recommend that with the guidance of your seniors, practice it for some time until you get comfortable. Then follow the exercises below to have fun with Python interpreter.
Watch the Video
In next exercise we will understand how we can use variable to store the text and use it again and again.
To clear the Python prompt type cls
in Windows and clear
in Linux.
When you are done then you can use exit()
to come out of Python Interpreter
Day 1 - Exercise
- Print your name in the python interpreter window.
- Print your favorite movie name.
- Print the name of your school.
- Close the Python window and open it again to print the name of your favorite food.
Top comments (0)