[Python]"三天打鱼,两天嗮网"求其两种状态分别的天数
day = 1 kill_fish_days = 0 # 捕鱼的天数repair_net_day = 0 # 修网的天数while day <= 365: day += 1 if 1 >= day % 5 <= 3: repair_net_day += 1 else: kill_fish_days += 1pr...