MarzleyTech Learn

Home / Learn / Python

Python: free course

Learn programming with Python: variables, input and output, conditions, loops, lists, dictionaries and functions.

20 lessons · free · no account needed · code examples, practice questions and videos

Start lesson 1 Open the interactive course Printable course notes

Lessons

  1. 1 Python introduction: what it is, why it's so popular, who uses it and your first programs
  2. 2 Variables, input and type conversion
  3. 3 Numbers and strings: data types, conversion, text basics and formatting
  4. 4 Operators, booleans and making decisions
  5. 5 Strings in depth: slicing, methods and f-strings
  6. 6 If statements: making decisions with if, elif, else, and, or, not and match
  7. 7 Lists and loops: storing many values and repeating actions
  8. 8 while loops, break, continue and loop patterns
  9. 9 Tuples, sets and comprehensions
  10. 10 Functions and dictionaries: reusable code and key-value data
  11. 11 Functions in depth: defaults, *args, **kwargs and lambda
  12. 12 Dictionaries in depth: nested data and counting
  13. 13 Errors and exceptions: try, except, else, finally, raising errors and working with files
  14. 14 Working with CSV and JSON data
  15. 15 Modules and the standard library: import, math, random, datetime, statistics, os and pip
  16. 16 Dates, times, random numbers and maths
  17. 17 Automation with Python: files, Excel reports, web APIs and scheduled tasks
  18. 18 Classes and objects: object-oriented programming in Python
  19. 19 Project: a transaction charges calculator with tariff bands, validation and reports
  20. 20 Project: a school grade report system