📅  最后修改于: 2022-03-11 14:46:17.078000             🧑  作者: Mango
time = 72.345.
â
hours = int(time)
minutes = (time*60) % 60.
seconds = (time*3600) % 60.
â
print("%d:%02d.%02d" % (hours, minutes, seconds))
>> 72:20:42.