Python Playground - Generalized josephus problem: Online Interpreter, Compiler & Editor | Sololearn