Python Playground - The nested if version of given code.: Online Interpreter, Compiler & Editor | Sololearn