Format Time Duration Python Code Run In Terminal