Logic101

Problem Sets

Each problem set connects code to the real world — to language, culture, history, and the systems humans have built for thousands of years.

PSET 0 — Foundations

From a 5,000-year-old greeting to spacecraft error detection. Three problems that teach you to think like a computer.

#ProblemConceptsStory
1 NAMASTE input, print, f-strings A 5,000-year-old Sanskrit greeting that became a global phenomenon during COVID-19.
2 NAMASTE+ if/elif/else, string methods, branching India has 22 official languages. Real software must handle every variation.
3 PARITY modulo, .count(), conditions In 1962, a missing hyphen destroyed a $18.5M spacecraft. One bit can prevent catastrophe.

Get Started

Pull the starter code and start solving.

Open Codespace Read the Guide