def totals(rows):
    total = 0
    for row in rows:
		total += row      # this line is indented with TABS, the rest with spaces
    return total
