Ad
  • Default User Avatar

    hey there,
    i am very new to this regex style of programming, so i need some help out here.
    What i don't understand is how can i give input to the parameter when i am not calling a function?
    ex: regex=re.search('blah*',name)
    from where do i get this name parameter..

    P.S. i am sorry if my question is a bit messy

  • Default User Avatar

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

  • Default User Avatar

    this is not related to this kata...its a general question
    i wanted to ask how can we get to know the number of honor we will receive to solve a kata
    for example when i solved this kata i received +1 honor
    whereas in my previous solved kata i receivd more than 10 honor

    thanks:)

  • Default User Avatar

    Yes spaces not zeros...that was the whole confusion
    Anyways the kata is solved now
    Thanks:)

  • Default User Avatar

    thanx for a quick reply :)
    but how come there are 0's when here everything is about . and -
    and
    is there any way i ccu know what is the input of the test case where my code is going crazy :p

  • Default User Avatar

    after 9 test getting successfully passed , i am getting a message "extra zero handling"
    and also an error :cannot concatenate 'str' and 'NoneType' objects

    what am not understanding is that if there's a problem in my code then the test should fail in the first case itself...why is it taking 9 test cases to check??
    is there something that am missing?

    language used: python
    P.S. i had received this error while running test befre submitting but that time i had solved it