def transpose(table):
    """
    Returns a copy of table with rows and columns swapped
    
    Example:
           1  2          1  3  5
           3  4    =>    2  4  6
           5  6
    
    Parameter table: the table to transpose
    Precondition: table is a rectangular 2d List of numbers
    """
    result = []                       # Result (new table) accumulator 
    
    # Loop over columns
        # Add each column as a row to result
    
    return result