I just don't get it what am I doing wrong, this below is my solution and all I added isa check if start_link is -1 and if then return "None", 0I 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 SloveniaModify the get_next_target procedure so thatif there is a link it behaves as before, butif there is no link tag in the input string,it outputs None, 0.
|
|
Get rid of the quotes, like this: if(start_link == -1):
return None, 0
None shouldn't be a string :) |