Format Time Duration Python Code For Snake