- 5
Drag and drop from the options below to print the starting and ending positions of the match. import pattern = r"test" match
Drag and drop from the options below to print the starting and ending positions of the match. import pattern = r"test" match = re.search(pattern, "some test") print(match.) print(match.)
4 Answers
+ 4
Drag and drop from the options below to print the starting and ending positions of the match.
import
pattern = r"test"
match = re.search(pattern, "some test")
print(match.______)
print(match.______)
ans :
re
start()
end()
+ 3
Abdiel Rivas
its import RE not REG
0
import reg
pattern = r"test"
match = re.search(pattern, "some test")
print(match.start())
print(match.end())
- 4
Erwin Sujana Review the previous lessons and solve your problem.