Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
ahhh....thank you very much...
As you said, I am new here...so I did not understand the new line part....
Will keep this in mind from next time...
Thanks again.
Do you see how the closing
'
is in the next line? The input value is not'123'
it's'123\n'
. The same for the other one.No, it can't.
I posted the problem fresh again with all the details. Can this thread be deleted?
I am solving the ATM pin validation challenge in Python.
The two failing tests are as below:
Wrong output for '123
': True should equal False
Wrong output for '09876
': True should equal False
When I pass these parameters to my code on my jupyter notebook (I have even added space at the end and beginning etc) and I get False output....but these tests are saying my code returned True...not able to understand what is actually getting passed and not able to test the code for those inputs...
Any help will be appreciated...
Thanks.
sorry...should have done that...
I am solving the ATM pin validation challenge in Python.
The two failing tests are as below:
Wrong output for '123
': True should equal False
Wrong output for '09876
': True should equal False
When I pass these parameters to my code on my jupyter notebook (I have even added space at the end and beginning etc) and I get False output....but these tests are saying my code returned True...not able to understand what is actually getting passed and not able to test the code for those inputs...
Any help will be appreciated...
Thanks.
You're new here, so I'll give you some advice, when asking for help, give detailed information, which tests? which language? Nobody can help you with only what you wrote, you could post your code and mark the post as having spoiler content too.
The code I have written runs perfectly fine when I click on "Run Sample tests" but fails on two counts when I click on "Attempt"...
Also, the failure cases run perfectly fine when I run the code with the two inputs on my own computer....
How do I get round this problem?