365:exit(1)if__name__=="__main__":Happy_New_year()">
您的位置:首页 >java怎么实现新年祝福
发布于2023-04-26 阅读(0)
扫一扫,手机访问
from datetime import datetime
import pprint
pp = pprint.PrettyPrinter()
def Happy_New_year():
now = datetime.now()
this_year = now.year
day = 1
while this_year == 2018:
pp.pprint("2018年第{}天: 健康,进步!".format(day))
day += 1
if day > 365:
exit(1)
if __name__ == "__main__":
Happy_New_year()
售后无忧
立即购买>office旗舰店
售后无忧
立即购买>office旗舰店
售后无忧
立即购买>office旗舰店
售后无忧
立即购买>office旗舰店
正版软件
正版软件
正版软件
正版软件
正版软件
1
2
3
7
9