0
Convert US date to EU date
What is wrong with my code? I keep falling case 3 but I can't see the output, can someone help me? Or at least I want to know what the output of case 3 is https://code.sololearn.com/c9Puq7TfaBIX/?ref=app
4 ответов
0
May I suggest adding some comments and tabs?🥺
And what you mean by case 3? 🤔🤔🤔
0
1. Use indentation. This is not the problem, but makes it quite easier to search it.
2. Test your code with some variety of inputs to see where and how it fails.
0
Itzel Medina We can't see the hidden tests inputs nor outputs. They are hidden to avoid people cheating - forcing the right outputs for specific inputs.
Sometimes it helps to reread the task description with full attention. Many people fail these tests for minimal details, like typos, or lack/excess of an equal sign in a comparison.
And my previous comment is still valid.
- 1
Arturop I mean the output of the case number 3, all the exercises in solo learn have 4 cases and my code keeps falling in case 3, it worked in all the other cases except in that one, I only want to know what is the output so it could be easier for me to find the error