Source code for kyu_5.josephus_survivor.josephus_survivor

"""
Test for -> Josephus Survivor.

Created by Egor Kostan.
GitHub: https://github.com/ikostan
"""


[docs] def josephus_survivor(total: int, eliminated: int) -> int: """ Return who is the "survivor". :param total: int :param eliminated: int :return: """ print(f"total: {total}, eliminated: {eliminated}") return 0