网站数据迁移教程,seo优化与推广招聘,事业单位网站备案流程,成都 企业 网站建设https://blog.csdn.net/hanhanwanghaha宝藏女孩 欢迎您的关注#xff01; 欢迎关注微信公众号#xff1a;宝藏女孩的成长日记 如有转载#xff0c;请注明出处#xff08;如不注明#xff0c;盗者必究#xff09; 代码#xff1a;
import time
print(time.strftime(%Y-%… https://blog.csdn.net/hanhanwanghaha宝藏女孩 欢迎您的关注 欢迎关注微信公众号宝藏女孩的成长日记 如有转载请注明出处如不注明盗者必究 代码
import time
print(time.strftime(%Y-%m-%d %H:%M:%S, time.localtime()))例如
#codingutf-8import timeprint(打卡开始)
count 1 #定义一个整数表示读取该用户的次数
while count 9:count int(input(请输入你的序号:))if count 3 or count 4:continueprint(第,count,个小天使报道,打卡时间为,time.strftime(%Y-%m-%d %H:%M:%S, time.localtime()))count count 1print(打卡结束)
执行结果为 哈哈哈哈哈希望对你有用 https://blog.csdn.net/hanhanwanghaha宝藏女孩 欢迎您的关注 欢迎关注微信公众号宝藏女孩的成长日记 如有转载请注明出处如不注明盗者必究