📌  相关文章
📜  将数字转换为时间python代码示例

📅  最后修改于: 2022-03-11 14:46:17.078000             🧑  作者: Mango

代码示例1
time = 72.345.
​
hours = int(time)
minutes = (time*60) % 60.
seconds = (time*3600) % 60.
​
print("%d:%02d.%02d" % (hours, minutes, seconds))
>> 72:20:42.