FRE-102 Fundamentals ⏱ 2 weeks

Python Basics

A free, hands-on introduction to programming with Python: variables, control flow, functions, data structures and files — enough to write real scripts.

Syllabus

Module 1 — Getting started

  • Installing Python; the REPL
  • Variables and types
  • Strings and input/output

Module 2 — Control flow & functions

  • if/elif/else and booleans
  • for and while loops
  • Defining functions
  • Modules and the standard library

Module 3 — Data & files

  • Lists, dicts, sets, tuples
  • Reading and writing files
  • Exceptions
  • A small project