Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 328 Bytes

File metadata and controls

14 lines (11 loc) · 328 Bytes

Week 3 – Student Tasks: Guess the Number

Task A: Run it

Run week03_guess_number.py

Task B: Make it harder

  • Change the range to 1–20.
  • Give the player 5 tries.

Task C (challenge)

Add “hot/cold” messages:

  • If the guess is 1 away: "Very close!"
  • If the guess is 2–3 away: "Close!"
  • Otherwise: "Far!"