摘要: 1.需求,编写函数,输入两个时间,格式为1970-1-1 12:00:00,1970-1-1 14:30:00,计算两个时间差,要求输出"2小时30分" import timedef func(start,end): struct_start=time.strptime(start,"%Y-%m-% 阅读全文
posted @ 2019-10-02 10:44 渱尘 阅读(98) 评论(0) 推荐(0) 编辑