Python Playground - Number of 1's in a given integer: Online Interpreter, Compiler & Editor | Sololearn