The Lawfare Academy

Lawfare Group → Knowledge Institute → Lawfare Academy

Computer Science and Artificial Intelligence

FoundationsTextbook-supported courseSelf-paced

CS 101 — Programming Foundations with Python

Study programming foundations with python through six sequenced teaching units, original explanations, worked code, changed-condition exercises, explained checks and full assigned primary-source study.

Start Lesson 1 →

6Study unitsSelf-pacedReading and practiceFreeAll course material

ABOUT THIS COURSE

Your preparation and study plan

No prior programming. Basic arithmetic; access to a computer with Python 3.

Six teaching units across sixteen suggested weeks; approximately 8–12 hours weekly including complete assigned readings, implementation, problem solving and review. Adjust for prerequisites and project choices.

Follow each unit through Learn → Apply → Check → Readings. Assessments are optional; reading remains open.

What you’ll be able to do

  • Explain and implement the core mechanisms of programming foundations with python.
  • Trace programs and calculations and justify results with stated assumptions.
  • Evaluate failure cases, test evidence and the limits of an implementation.
  • Integrate the methods in an independently reproducible project.

ONE CONNECTED STUDY SEQUENCE

Your lessons, in order.

  1. Values, names, types and a precise specification

    Explain and trace the mechanisms in values, names, types and a precise specification.

    Study this lesson →

  2. Control flow, iteration and loop invariants

    Explain and trace the mechanisms in control flow, iteration and loop invariants.

    Study this lesson →

  3. Functions, decomposition and collection design

    Explain and trace the mechanisms in functions, decomposition and collection design.

    Study this lesson →

  4. Exceptions, files and validated boundaries

    Explain and trace the mechanisms in exceptions, files and validated boundaries.

    Study this lesson →

  5. Tests, debugging and evidence of correctness

    Explain and trace the mechanisms in tests, debugging and evidence of correctness.

    Study this lesson →

  6. Modules, reproducibility and an integrated estimator

    Explain and trace the mechanisms in modules, reproducibility and an integrated estimator.

    Study this lesson →