Python Playground - solution to facebook challenge: Online Interpreter, Compiler & Editor | Sololearn