Ad
  • Default User Avatar

    I don't understantd your answer, In my case, Matthew and Elizabeth get the same score, so it's Elizabeth's win because E is comming before M.

    In the next example, you have the same case :
    rank("Aubrey,Olivai,Abigail,Chloe,Andrew,Elizabeth", [3, 1, 4, 4, 3, 2], 4), "Abigail"), Abigail and Chloe get the same score and it's Abigail's win.

    There is something that I don't understand.

    EDIT : I'm a stupid monkey, I got it, sorry for my useless comment

  • Default User Avatar

    Yeah, didn't see, sorry my bad.

    thanks you for your advices

  • Default User Avatar

    You read wrongly the output.
    In fact you have:

    ['zone', 'abigail', 'theta', 'form', 'libe', 'zas']
    -2
    LE RESULTAT EST zoneabigailthetaform
    'zoneabigailthetaform' should equal ''
    

    Your code is wrong somewhere.
    Moreover:

    • please give the langauge you are using
    • before posting an issue look at the top of the page to see how many people passed the kata in your language (10767 in Python); when the number is not small chances are that your code is wrong or incompete. Instead of an issue post a question.
  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution