import datetime as dt


def solution():
    days = 0
    for y in range(1901, 2001):
        for m in range(1, 13):
            if dt.date(y, m, 1).weekday() == 6:
                days += 1
    return days


def test():
    assert solution() == 171

6b61a5d4ef89169773ca62c6971b91d70a759310
<mask token>

<mask token>


def solution():
    days = 0
    for y in range(1901, 2001):
        for m in range(1, 13):
            if dt.date(y, m, 1).weekday() == 6:
                days += 1
    return days


<mask token>

<mask token>


def solution():
    days = 0
    for y in range(1901, 2001):
        for m in range(1, 13):
            if dt.date(y, m, 1).weekday() == 6:
                days += 1
    return days


def test():
    assert solution() == 171

import datetime as dt


def solution():
    days = 0
    for y in range(1901, 2001):
        for m in range(1, 13):
            if dt.date(y, m, 1).weekday() == 6:
                days += 1
    return days


def test():
    assert solution() == 171
