Ad
  • Custom User Avatar

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

  • Custom User Avatar

    I met the same problem in another question...

  • Custom User Avatar

    in python2.7 (int / int is int) if you want a float try (float(int) / int)
    in python3 (int / int is float)
    hope this can help you

  • Default User Avatar
  • Custom User Avatar

    I passed it after figure out the meaning of the title.Thank you very much!

  • Default User Avatar

    Do you know what the word "consecutive" means? It means "following each other continuously". In "it","wkppv","ixoyx", "3452", "zzzzzzzzzzzz"], 3), "ixoyx3452zzzzzzzzzzzz"
    "it", "wkppv","ixoyx" are three consecutive strings. it","wkppv", "3452" are not consecutive. Hope that helps.

  • Custom User Avatar

    Sorry, I am not very good at English.I will try again.Thank you!

  • Default User Avatar

    As you can see at the top of the page 9426 guys passed the kata so I'm sorry but there are no contradictions. I advice you to read carefully the description and to study the examples. Good luck!

  • Custom User Avatar

    testing(longest_consec(["it","wkppv","ixoyx", "3452", "zzzzzzzzzzzz"], 3), "ixoyx3452zzzzzzzzzzzz")
    len('wkppv') == len('ixoyx')
    testing(longest_consec(["itvayloxrp","wkppqsztdkmvcuwvereiupccauycnjutlv","vweqilsfytihvrzlaodfixoyxvyuyvgpck"], 2), "wkppqsztdkmvcuwvereiupccauycnjutlvvweqilsfytihvrzlaodfixoyxvyuyvgpck")
    len(test[1]) == len(test[2])
    Are they contradictory?