I just don't get it what am I doing wrong, this below is my solution and all I added is
a check if start_link is -1 and if then return "None", 0
I got this:
Incorrect. Your procedure didn't work when given a string that doesn't contain any links. Make sure to return None, 0.
Please help, probably it is a bug, but anyway anyone, Grega from Slovenia
Modify the get_next_target procedure so that
if there is a link it behaves as before, but
if there is no link tag in the input string,
it outputs None, 0.
asked 29 Feb '12, 06:36
None should not be a String and i think the bold and larger Text isn't necessary.
answered 29 Feb '12, 06:42
Get rid of the quotes, like this:
if(start_link == -1): return None, 0
None shouldn't be a string :)
answered 29 Feb '12, 06:43