Format Time Duration Python Code Running In The Command