+ 1
What's wrong with my code?
Hello Guys! I can't figure out the bug, According to me I'm getting correct output everytime but when i try running test cases i get only 3/5 correct cases What's the bug in it? https://code.sololearn.com/cg84IkCU60ou/?ref=app
8 odpowiedzi
+ 2
if int(m[0]) <= 10 and int(m[0]) >= 1:
print('0'+ n)
+ 2
Incorrect output format for the hours of 1:00 AM - 9:59 AM
outputs 1:00 instead of 01:00
+ 2
Did you test your code before trying to submit it? Now it doesn't output the hour at all for that range 1:30 AM outputs :30 now.
+ 2
The print statement in the line before the error is missing a closing ')', but your output problem remains at this point.
+ 2
It Woked ChaoticDawg
Tysm :]
0
Yea i got that mistake i tried some more changes now im getting syntax error in the "elif" statement i can't see it though
0
Well Thank Again for fixing Error but I can't figure out the correct code :/
0
Oh lemme try this