πŸ“Š Python
Q. Find the output of the below code.
Code:
import re
print(re.search(‘aa?cb?’,’aacb aaccbd’).group())
  • (A) aacb
  • (B) aaccbd
  • (C) aacb aaccbd
  • (D) 2
πŸ’¬ Discuss
βœ… Correct Answer: (A) aacb

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
181
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
95%
Success Rate