def python2iraf(x1, x2, y1, y2):
    """
    Convert from Pythonic indexes to IRAFonic indexes.

    Args:
        x1: int
        x2: int
        y1: int
        y2: int

    Returns:
        section : str
    """
    s = '[{:1d}:{:1d}, {:1d}:{:1d}]'.format(x1 + 1, x2, y1 + 1, y2)
    return s