def string_from_seconds(seconds):
td = str(timedelta(seconds = seconds))<EOL>parts = td.split('<STR_LIT:.>')<EOL>if len(parts) == <NUM_LIT:1>:<EOL><INDENT>td = td+'<STR_LIT>'<EOL><DEDENT>elif len(parts) == <NUM_LIT:2>:<EOL><INDENT>td = '<STR_LIT:.>'.join([parts[<NUM_LIT:0>],parts[<NUM_LIT:1>][:<NUM_LIT:2>]])<EOL><DEDENT>return td<EOL>
Converts seconds into elapsed time string of form 

(X days(s)?,)? HH:MM:SS.YY