This is different from this post.
I am working on converting milliseconds to this format "{minutes}:{seconds}" in Python.
I've already implement this conversion
duration_in_ms = 350001
x = duration_in_ms / 1000
seconds = x % 60
x /= 60
'{}:{}'.format(str(int(x)).zfill(2), round(seconds,3))
the output is
'05:50.001'
is there a more efficient way to do this?