You are viewing a single comment's thread. Return to all comments →
doing this gives me a runtime error in a few test cases. why?
import re
x=input()
y=input()
print(len(re.search(y,x).span()))
Seems like cookies are disabled on this browser, please enable them to open this website
Java Comparator
You are viewing a single comment's thread. Return to all comments →
doing this gives me a runtime error in a few test cases. why?
import re
x=input()
y=input()
print(len(re.search(y,x).span()))