← All courses

Python Basics

A complete beginner-to-solid-fundamentals path through Python — syntax, data structures, functions, files, and OOP essentials.

pythonprogrammingbeginner
24decks
29main cards
167practice cards
20%with images
v1.0.0version

Card type mix

What's covered

  1. Environment, Variables & Primitive Data Types
  2. Operators & Expressions
  3. String Manipulation
  4. Conditional Logic
  5. Loops & Iteration
  6. Lists
  7. Tuples & Sets
  8. Dictionaries
  9. Comprehensions
  10. Function Essentials
  11. Advanced Function Arguments & Lambdas
  12. Variable Scope
  13. Modules & Packages
  14. User Input & Basic Type Conversion
  15. Exception Handling
  16. File I/O Basics
  17. Classes & Objects
  18. Constructors & Instance vs. Class State
  19. Inheritance & Polymorphism
  20. Encapsulation & Pythonic Access Control
  21. High-Order Built-in Functions
  22. Sorting & Custom Keys
  23. Virtual Environments & Package Management
  24. Type Hints & Code Style

Example cards

short answer

What function prints text to the console in Python?

  • print
  • print()
multiple choice

Which operator performs floor (integer) division in Python?

  • //
  • /
  • %
  • **

Latest: Converted 2 cards ("self" naming convention, "PEP 8" style guide name) from typing types to tap-based select_blank -- typing cards should be reserved for cards whose answer is actual code/CLI syntax, not a definitional/naming-convention term.