Anonymous
public text v1 · immutabledef get_tenths(seconds):
seconds = string.atoi(seconds)
(minutes, minute_remainder) = divmod(seconds,60)
(tenths, second_remainder) = divmod(minute_remainder,6)
if second_remainder != 0:
tenths = tenths + 1
return (minutes, tenths)