题解 | #四季#
四季
http://www.nowcoder.com/practice/eaf21203b61b4a689987fdc165d00dfc
m = int(input()[-2:])
if 3 <= m <= 5:
print("spring")
elif 6 <= m <= 8:
print("summer")
elif 9 <= m <= 11:
print("autumn")
else:
print("winter")
四季
http://www.nowcoder.com/practice/eaf21203b61b4a689987fdc165d00dfc
m = int(input()[-2:])
if 3 <= m <= 5:
print("spring")
elif 6 <= m <= 8:
print("summer")
elif 9 <= m <= 11:
print("autumn")
else:
print("winter")
相关推荐