Q. Find the output of the below code.
Code:
import re print(re.search(‘aa?cb?’,’aacb aaccbd’).group())
β
Correct Answer: (A)
aacb
import re print(re.search(‘aa?cb?’,’aacb aaccbd’).group())
You must be Logged in to update hint/solution