Python Playground - nested if statement: Online Interpreter, Compiler & Editor | Sololearn