Loading...
CodeCraft Juniors
Python Programming · Day 10 of 40

Project — Student Result Generator

Combine variables, input, calculations, strings and built-ins into a polished result program.

60 minutesLive + guided practiceBeginner friendly
01 · LEARNING TARGETS

What students should understand today

  • Program StructureUnderstand what it means, where it is used and practise it in a small example.
  • Multiple InputsUnderstand what it means, where it is used and practise it in a small example.
  • Totals And PercentageUnderstand what it means, where it is used and practise it in a small example.
  • Clear Report FormattingUnderstand what it means, where it is used and practise it in a small example.
02 · TEACHING NOTES

Core lesson

Start with the idea, not the syntax. Combine variables, input, calculations, strings and built-ins into a polished result program. The instructor should connect the topic to something students already understand, then introduce the exact terms they need for today.

Build in small steps. The teacher first models one example, then students rebuild the same idea with different values so they learn the logic rather than memorising one answer. Pause after each important change and ask students to predict what will happen before running or refreshing the result.

Develop good habits. Students should type the code themselves, run it frequently and read any error message before changing the code. Keep naming, indentation/structure and output clear enough that another student could follow the work.

03 · LIVE BUILD

A result generator that asks for subject marks and prints total, percentage and a neat summary.

1

Plan the result first: decide what the user/student should see or be able to do at the end.

2

Build the smallest working version using today’s main concepts and test it immediately.

3

Add one improvement at a time and ask students to explain why each line/element is needed.

4

Test with at least two different inputs, screen sizes or scenarios and fix one issue together.

04 · STUDENT CHALLENGE

Independent practice

Add validation-friendly prompts and improve the output layout so another student can understand it immediately.

Teacher rule: give hints in steps, but avoid typing the complete answer for the student. The goal is to make them think, try and correct.
05 · END-OF-DAY CHECK

Before moving to the next day

  • I can explain program structure in simple words.
  • I can explain multiple inputs in simple words.
  • I can explain totals and percentage in simple words.
  • I can complete today’s mini task with only small hints.
Optional 10–15 minute home practice

Rebuild today’s example once without looking at the finished version. Change the names, values, text or design so the result is clearly your own.