Help to solve the Military Time challenge with Python
Hey people I’m stuck trying to solve the military to 12h clock conversion challenge. Haven’t code for a long time, I’m a bit rusty on this 😅. So far I have got it to conver 12h to military but the second to last input from the challenge keeps giving the wrong output. I’ve try everything, I think it is something related to the morning time from balls(00:00) to 11:00 or balls to 09:00. I even thought it could’ve been the extra zero in front of the time 01:00 to 09:00 but not really sure cuz I also removed it. Right the time from 01:00 to 09:00 do not have the 0 in front on this code when it come to outputting it. I’m very confuse and have no idea, anything might help. Every suggestion or solution will be helpful. 🙃 https://code.sololearn.com/c4liMEj54F9O/?ref=app