More on Python

Remember, Python is a programming language. So, a set rules which we execute in a computer and the computer understands those rules and generates an output. These rules are generally known as code. The rules (i.e., the code) are documented in the official Python documentation 📁.

The documentation is hosted on the official Python website python.org. Learning Python means learning those rules so that you are able to communicate the rules to the computers and have the computers do things for you such as sending you weather forecasts every morning, generating 10000 PDF bills in a second, predicting stock prices, creating computer games and many, many more amazing stuff. 

How do you communicate the rules to the computer?

The code is communicated by the programmer to the computer by writing and running the code in a code editor which you can install in your computer. In this series we will use the embedded code editor which you can see down below, so you don't need to install one in your computer and focus on the language instead. You can switch to any editor later easily. 

For this lecture, try playing around with the code on the left pane by changing part of it and then run it using the  button see how the output changes on the right pane. Things you can try:

  • Change the second number in line 6 from 29 to 49.
  • Change the graph title in line 10 from Temperature by day to Average temperature by day

💡Tip 1: Experimenting with the code is one of the most efficient techniques to learn a programming language.

💡Tip 2: If you have a question about the code, you can ask a question to the Python community at https://reddit.com/r/learnpython

Next Lecture
Recommended Course

Python Mega Course: Learn Python in 60 Days, Build 20 Apps
Learn Python on Udemy completely in 60 days or less by building 20 real-world applications from web development to data science.