Why does a Boolean `found` flag report "not found" exactly once, where a naive `else` would print it on every single pass?
Short drills on what this video just taught. Write the code, run the checks, and reveal the answer only if you are stuck.
A hidden number is given in secret. Walk through every number from 1 to 10 inclusive with a for loop and use a Boolean flag that starts as False to record whether the secret shows up. Assign the flag's final value to found.
Hint: range(1, 11) yields 1 through 10, and == tests equality.