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
- 01.01Hello, Python~28 min readOpen →How Python runs. Scripts vs. notebooks.
print(), comments, variables, basic data types, and type conversion.~28 min readOpen → - 01.02Operators and decisions~25 min readOpen →Arithmetic, comparisons, and logical operators. Then if / elif / else — the smallest unit of programmer judgement.~25 min readOpen →
- 01.03Lists (lite), loops, and functions~32 min readOpen →A first taste of lists.
forover a collection,whilewith a warning. Then functions — names for the verbs in your program.~32 min readOpen →
Practice exercises for this week
short · graded
- wk01.p4Study group introduction~15–25 minView →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.p5Email signature builder~15–25 minView →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.p6Personal introduction paragraph~20–30 minView →Build the introduction paragraph from class — name, field, country, target start year. The year is text from
input(), so you'll needint()to do a small bit of math at the end.~20–30 minView → - wk01.p7Application cost calculator~20–30 minView →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()andfloat()in one program.~20–30 minView → - wk01.p8SOP word count tracker~15–25 minView →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.p9Study-group bill split~15–25 minView →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()andfloat()with division.~15–25 minView → - wk01.p10From goal to program — graduation age~30–45 minView →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.p1Profile card printer~25–35 minView →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.p2Mobile money fee calculator~30–45 minView →Practice
if/elif/elseby working out the fee for sending mobile money. The math is honest, the decisions branch three ways.~30–45 minView → - wk01.p3Temperature converter~20–30 minView →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
Read brief →in 1 week