Discuss / Python / 打卡

打卡

Topic source

ny12348

#1 Created at ... [Delete] [Delete and Lock User]

from datetime import datetime dt=datetime(2019,3,15,13,30) now=datetime.now() print('从第一天',dt,'跟廖老师学python开始,到现在',now,'第十天打卡')

执行结果

从第一天 2019-03-15 13:30:00 跟廖老师学python开始,到现在 2019-03-28 12:50:39.261828 第十天打卡


  • 1

Reply