Answer to Question #147688 in Python for Joseph Se
1. What will be the output of the variable L after the following code is executed?
import re
s = 'ACAABAACAAAB'
result = re.findall('A{1,2}', s)
L = len(result)
A. 5
B. 8
C. 12
D. 4
1
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
Python
Comments
Leave a comment