"if both strings are empty then you should return false/False." So, what does "false/False" mean? Is it a string? Why does one 'false' start with a small letter and the other with a capital letter? This condition is confusing
Hi! I'm doing a task in Ruby
I have read the assignment many times. But I can't figure out what I missed and why I get such a result:
Fixed tests
Expected: false, instead got: true
The task is as short and clear as possible: "PIN codes cannot contain anything but exactly 4 digits or exactly 6 digits". But I have a feeling that not all requirements are listed. My code passes all the tests that are open to me. And I can't guess which requirement is "hidden" from me. Based on the tests that I can see, pincodes like '1111' and '123456' are allowed. Pin codes with hidden characters are not allowed by my regular expression. The code only allows a sequence of 4 or 6 digits and that's it. Please tell me where else to look
Thanks for the quick prompt.
False
is for Python,false
for almost any other language. There are no quotes, so, no, it's not a string. Also, there is a note in the description:"if both strings are empty then you should return false/False." So, what does "false/False" mean? Is it a string? Why does one 'false' start with a small letter and the other with a capital letter? This condition is confusing
Hi! the first (random) test checks the sum of two arguments. This test does not seem to be written for this task
(Ruby language)
Hi! I'm doing a task in Ruby
I have read the assignment many times. But I can't figure out what I missed and why I get such a result:
Fixed tests
Expected: false, instead got: true
The task is as short and clear as possible: "PIN codes cannot contain anything but exactly 4 digits or exactly 6 digits". But I have a feeling that not all requirements are listed. My code passes all the tests that are open to me. And I can't guess which requirement is "hidden" from me. Based on the tests that I can see, pincodes like '1111' and '123456' are allowed. Pin codes with hidden characters are not allowed by my regular expression. The code only allows a sequence of 4 or 6 digits and that's it. Please tell me where else to look
Hi! Did you find a solution? I have the same situation