CurriculumWeek 01 · Foundations
Week 01 · starts May 18

Foundations

Take input, make decisions, repeat with a loop. Write your first useful program.

This week

Sessions

Practice exercises for this week

short · graded
  • wk01.p4
    Study group introduction
    Ask four short questions and print a clean five-line introduction. Pure input, variables, and printing with commas — no conversions, no math.
    ~15–25 minView →
  • wk01.p5
    Email signature builder
    Ask for the five lines of an email signature, then print a clean block you could paste into Gmail. Pure input, variables, and printing — no math, no conversions.
    ~15–25 minView →
  • wk01.p6
    Personal introduction paragraph
    Build the introduction paragraph from class — name, field, country, target start year. The year is text from input(), so you'll need int() to do a small bit of math at the end.
    ~20–30 minView →
  • wk01.p7
    Application cost calculator
    Ask how many scholarships you're applying to and how much each application costs. Multiply them. Print the total in a clean three-line summary. First time mixing int() and float() in one program.
    ~20–30 minView →
  • wk01.p8
    SOP word count tracker
    Ask for your statement of purpose target word count and how many words you've written. Print how many you have to go. The cleanest possible int() + subtraction exercise.
    ~15–25 minView →
  • wk01.p9
    Study-group bill split
    After a study-group hangout, ask for the total bill and the number of people. Divide. Print a clean three-line receipt. Practice mixing int() and float() with division.
    ~15–25 minView →
  • wk01.p10
    From goal to program — graduation age
    We give you the goal. You break it into steps and build the program yourself. No requirements list. No starter code. The exercise is the planning, not the typing.
    ~30–45 minView →
  • wk01.p1
    Profile card printer
    Ask the user four questions about themselves, then print a clean five-line profile card. Get comfortable with input, types, and conversions.
    ~25–35 minView →
  • wk01.p2
    Mobile money fee calculator
    Practice if / elif / else by working out the fee for sending mobile money. The math is honest, the decisions branch three ways.
    ~30–45 minView →
  • wk01.p3
    Temperature converter
    Ask for a temperature in Celsius, print it in Fahrenheit. Then go the other way. Math and input and output, in twenty lines.
    ~20–30 minView →

Assignment for this week

Scholarship eligibility checker
Build a program that asks for GPA, English score, degree level, and target country, then prints which scholarships the user might qualify for.
Due Sun, May 24 · 9:00 pm
in 1 week
Read brief →