Dotcpp   >   Python试卷   >   题目 7689

使用 time 库的相关函数获取 3 天前的时间。

使用 time 库的相关函数获取 3 天前的时间。


答案

from time import *
print(ctime(time()-24*60*60))

题目信息

题号:7689
题型:简答题
知识点:Python试卷
难度:普通
0.221607s