Ad
  • Custom User Avatar

    hahahah nice shot

  • Custom User Avatar

    Your code fails because it checks that the password contains either a number or a special character. Special characters are not mentioned in the kata decription, only a number needs to be present.

  • Custom User Avatar

    Python3
    I encountered a situation where my written solution failed one or two tests, but it was eventually accepted after clicking the submit button a few times.
    Here is the case as an example that causes issues:

    "=ICT,]|FIgw;%eA,LjKJ{QQ*p|v"

  • Custom User Avatar

    It looks like you are getting the assertion message 3 should equal 9. This means that your function returned 3, but it should have returned 9. The message does not mention the input. The input for that particular test is 15. You want to make 6 pieces of toast, 15 is 9 more than 6, meaning you have to take 9 pieces of bread out of the toaster. In the case where there are 5 pieces in the toaster already, you have to add 1 to make it 6.

  • Custom User Avatar

    "I don't understand based on the problem's condition. Why, when there are 3 toasts, 9 are missing, if following the described logic of the problem, in the case where you have 5 toasts, only 1 is missing?"

  • Custom User Avatar