a) >>> re.search(‘aaaa’, “alohaaaa”, 0)
b) >>> re.match(‘aaaa’, “alohaaaa”, 0)
c) >>> re.match(‘aaa’, “alohaaa”, 0)
d) >>> re.search(‘aaa’, “alohaaa”, 0)
Choose the function whose output can be: <_sre.SRE_Match object; span=(4, 8), match=’aaaa’>.
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Choose the function whose output can be: <_sre.SRE_Match object; span=(4, 8), match=’aaaa’>.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!