Python Playground - Condition check using for loop: Online Interpreter, Compiler & Editor | Sololearn