Python is one of the most used programming languages in the world according to Stackoverflow and its the number one choice when learning how to code as it's easy to use but it still allows you to create almost any type of applications.

Python code reads almost as plain english expecially when compared to other programming languages like Rust,C++ and more.

It's used in:

  • Backend Web Development
  • Automation
  • Machine Learning
  • DevOps
  • Cloud Engineering

When you learn one programming language it's important to understand that almost every topic you learn it will be easily transferable into other lanauges.

What is code?

Code is just a series of instructions for a computer to follow one after another. Programs can have a lot of instructions.

We use the "console" to shows you the text output of your program.

To see what's happening in our code, we need to print it to the console using the print() function

print("Hello World")

we can also print numbers

print(2026)

Addition is one of the most common instructions in programming. This also prints the number 2026:

print(2000+26)

Code runs in order, starting at the top of the program. For example:

print("this prints first")
print("this prints second")
print("this prints last")

"Syntax" is jargon for "valid code that the computer can understand". For example, the following code has invalid syntax:

print("Hello World')

It has mismatched quotes around the string hello world. One is a single quote ' and the other is a double quote ".


Reference sources

Learn backend development the smart way | Boot.dev
Welcome to the most captivating, finger-flying, addictive way to learn to code. The smartest way to learn a thing is to ensure you’re never bored.