秒を時間・分・秒に変換する
code:py
m, s = divmod(remainder_time, 60)
h, m = divmod(m, 60)
divmod で、 割り算の結果とあまりを返してくれる。
#Python #Python小ネタ