def factorial_pythonic(number: int) -> int:
    """Factorial with reduce function (pythonic approach).

    Examples:
        >>> assert factorial_pythonic(0) == 1
        >>> assert factorial_pythonic(1) == 1
        >>> assert factorial_pythonic(2) == 2
        >>> assert factorial_pythonic(3) == 6
    """
    return 1 if number in (0, 1) else number * factorial_pythonic(number - 1)