Link Search Menu Expand Document

Basics

This module focuses on the basics of Python. It covers the following topics:

  • print
  • Arithmetic operators: +, -, *, /, **
  • Types: int, str, float. type() function.
  • Assignment statements: x = 1
  • Rules for naming variables
  • Expressions and statements
  • Order of operations
  • String operations: +, *
  • Comments: # comment
  • f-strings: f'The answer is {x}'

📖 Learn the material

✍️ Proceed to the basics test (estimated time needed: 15 minutes)


➡️ Move on to Functions