SOLVED
COMMUNITY QUESTION
How to break a For loop using If statement?
1 answer
Solved
This discussion is preserved as it was. New answers, comments, and votes are closed.
SOLVED
Solved
This discussion is preserved as it was. New answers, comments, and votes are closed.
7 comments
You need double equals (==) when comparing values
It still didn't work.
There's no way to tell if that loop works since it doesn't output anything
ok
you need to print(i) before break in order to test if it works
Ok
Don't replace your question with "Solved" as other players might be able to use your question to help them.