def print_menu_list(clist, win, lines=20):
    """Print a list with leading numeric menu choices. Use two columns in necessary."""
    y, x = win.getbegyx()
    h = max((2/len(clist))+1, lines)
    i1, i2 = 1, h+1
    for c1, c2 in map(None, clist[:h], clist[h:]):
        if c2:
            win.addstr(y+i1,1, "%2d: %-33.33s | %2d: %-33.33s\n" % (i1, c1, i2, c2))
        else:
            win.addstr(y+i1,1, "%2d: %-74.74s" % ( i1, c1))
        i1 += 1
        i2 += 1
    win.refresh()
dataset/ETHPy150Open kdart/pycopia/CLI/pycopia/cursesio.py/print_menu_list/swapped operands of `/`