def index_to_month(index):
 return (((index // 12) + 1), ((index % 12) + 1))

def index_to_month ( index ) : return ( ( ( index // 12 ) + 1 ) , ( ( index % 12 ) + 1 ) )
the opposite companion to month_to_index .