The quiz where the difficulty automagically adapts to the player's Python knowledge
This is a question page. You can use this page to bookmark a question. Start a new quiz!
for loops can have an else clause. The else clause executes after the loop completes normally.
for item in container: if search_something(item): # Found it! process(item) break else: # Didn't find anything.. not_found_in_container()
Question difficulty: 🔵🔵🔵🔵🔵