Python Playground - If else statement in function: Online Interpreter, Compiler & Editor | Sololearn