问题描述:
Write a python function to calculate the number of odd days in a given year.

测试用例:
['assert odd_Days(100) == 5', 'assert odd_Days(50) ==6', 'assert odd_Days(75) == 2']

生成的代码:
def odd_Days(year):
    if (year % 4 == 0 and year % 100 != 0) or (year % 400 == 0):
        total_days = 366
    else:
        total_days = 365
    return total_days % 7

# Test cases
assert odd_Days(100) == 5
assert odd_Days(50) == 6
assert odd_Days(75) == 2