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