Skip to main content
π Preview mode. The first 15 Foundations lessons are free; this one is Pro. Start a 7-day trial to unlock the editor, AI hints and the rest of the curriculum. Card required, cancel any time in Dashboard.
Start 7-day trial β
β‘
β Courses
βΊ
Python Foundations
βΊ
Module 3 Β· Functions and strings
βΊ
π― Mini-project: Guess the number
mission
40 / 174
πΊπΈ
EN
βΌ
β
Share
β―
More
+200 XP
π
Task
π
Theory
π€
AI Help
Task
Write the `hint(guess)` function, then call it with guess=42 and print the result.
βοΈ Write your code here
π
Loading Python...
One-time download (~1 MB). Then it runs instantly.
β³ Loading Python...
π Result
Press Run to see result...
π¬ Discussion
Be the first to ask a question or share a tip.
Sign in
to join the discussion. Reading is free.
Loading discussionβ¦