dict_data = {
1: "一",
2: "二",
3: "三",
4: "四",
5: "五",
6: "六",
7: "日"
}
# 获取第一周的第一天是周几和最后一天是周几...= 0:
start = count + i
break
count += 1
# 解决最后是0的情况
end = _mouth...= 0:
end = i
break
# 解决第几周第一天的下标
print("第一周的第一天是周{},最后一天是{}号"..., 12], [13, 14, 15, 16, 17, 18, 19], [20, 21, 22, 23, 24, 25, 26], [27, 28, 29, 30, 0, 0, 0]]
第一周的第一天是周三...,最后一天是5号