def enlargetable(table,col):
    return table.append(col)

def removecolfromtable(table,col):
    return table.remove(col)

print enlargetable([[1],[2],[3]],[4]) # returns None

Why does it return None instead of [[1],[2],[3],[4]] which I expected?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to