Python Playground - Josephus Problem using Formula: Online Interpreter, Compiler & Editor | Sololearn