You are viewing a single comment's thread. Return to all comments →
Pyhton 3 using Time module:
def timeConversion(s: str) -> str: parsed_time = time.strptime(s, '%I:%M:%S%p') return time.strftime("%H:%M:%S", parsed_time)
Seems like cookies are disabled on this browser, please enable them to open this website
Time Conversion
You are viewing a single comment's thread. Return to all comments →
Pyhton 3 using Time module: