Given a broken piece of code, identify the bug and suggest a fix.
You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.