<s> def ms_to_sec ( ms ) : <EOL> """<STR_LIT>""" <EOL> return int ( ms / <NUM_LIT:1000> ) <EOL> def sec_to_ms ( sec ) : <EOL> """<STR_LIT>""" <EOL> if isinstance ( sec , float ) : <EOL> return float ( sec * <NUM_LIT:1000> ) <EOL> return int ( sec * <NUM_LIT:1000> ) </s>
