import sys

from loguru import logger

logger.remove()
logger.add(sys.stderr, format="", colorize=False, backtrace=True, diagnose=False)

k = 2


def a(n):
    1 / n


def b(n):
    a(n - 1)


@logger.catch
def c(n):
    b(n - 1)


c(k)
