You are viewing a single comment's thread. Return to all comments →
Python One Liner using time module:
import time def timeConversion(s): # Write your code here return time.strftime("%H:%M:%S", time.strptime(s, "%I:%M:%S%p"))
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 →
Python One Liner using time module: