+ 1
Convert US Date to EU Date: what's wrong with my code?
I don't know what is wrong with my code. I've ran many test cases and everything worked fine. My code failed in 4th test case. Can anyone help me to figure out what is wrong please 🙁 https://code.sololearn.com/csksShRY0Ltv/?ref=app
3 Réponses
+ 1
Watch that in python language it work:
https://code.sololearn.com/cDzo84Ex76m4/?ref=app
+ 2
Arjun VK a bug in the code misinterprets the month number for "June" as 7. Revise cases for string lengths 3 and 4.
+ 1
Thank you Brian . It was my mistake. I considered "June" as "Jun" that's why all of "my" test cases worked perfectly