Python · Control Structures
Rewrite this to read input once per loop using the walrus operator: ``` while True: attempt = int(input("Guess: ")) if attempt == secret: break ```
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
