0
I got an error in my code and I don't know wkere is it ?
I've tried to solve YouTube link finder challenge but I always got an only one test failed and it's hidden here is my code https://code.sololearn.com/crKWUA24om8y/?ref=app Could you help me?
2 Answers
+ 7
Your pattern is quite not universal, try this pattern
'.{1,11}#x27;
Also change the else statement as follows:
else: new_link=re.search(pattern1,link)
print(new_link.group())
+ 1
Valmob101
Got it!
Thanks a lot