Exerpad
🔥0
0 XP
Lv.1 Beginner
Log In

Guess the Number

The secret number is 7. Keep asking the user to guess until they get it right, then print how many guesses it took.

Example:

Input:

text
3
5
7

Output:

text
Correct! Guesses: 3

💡 Hints

?Hint 1
🔒Hint 2
🔒Hint 3
python