0

Military time problem... What is the problem in my code?? Why my three test cases are wrong??? Guys please help me😩😩

https://code.sololearn.com/cCAkjZH7X9C7/?ref=app

19th Jun 2020, 10:27 AM
Anik Datta
Anik Datta - avatar
2 odpowiedzi
+ 4
Your output is just *not at all* how the task tells you to do it! You have to read closely what's written there, what exactly they want, and *test* your code with inputs of your own, to see if your code does what's it supposed to you. If we just tell you, you'll learn nothing. Here is the demand, study it again: 'Output Format: A string that includes the time in a 24 hour format (XX:XX)'
19th Jun 2020, 10:42 AM
HonFu
HonFu - avatar
0
HonFu now i am getting one test case error.
19th Jun 2020, 3:51 PM
Anik Datta
Anik Datta - avatar