Python Playground - QA-2622365 - Invert branch of a tree: Online Interpreter, Compiler & Editor | Sololearn