Hello sir/madam, I am solving challges in code coach, theres my code got faild in the test cases for changing us date to es date | Sololearn: Learn to code for FREE!
+ 4

Hello sir/madam, I am solving challges in code coach, theres my code got faild in the test cases for changing us date to es date

Check my code here https://code.sololearn.com/cE6QdpXAqQjg/?ref=app. Everything is good with the code but there is something wrong with sololearn app I think but I am unsure. It showing test cases failed

18th Dec 2019, 5:32 PM
Lakshmipathi
Lakshmipathi - avatar
4 Answers
+ 5
You need to account for a space between the comma and the year. When you enter dates with a space there, the code fails. Check the format of the dates in the problem.
18th Dec 2019, 9:56 PM
Njeri
Njeri - avatar
18th Dec 2019, 7:43 PM
Lakshmipathi
Lakshmipathi - avatar
+ 2
Thank you so much for your answers, guys❤️.
19th Dec 2019, 2:06 AM
Lakshmipathi
Lakshmipathi - avatar
0
Rajeshwari Dadaji Ahire Those challenges are not that tough and I have completed 3 from them but there's is something wrong with particularly this challenge. Everything is fine but 3 test cases failed
18th Dec 2019, 7:54 PM
Lakshmipathi
Lakshmipathi - avatar