What will be the output of the following code? import re string ‘bat, lat, mat, bet, let, met, bit, lit, mit, bot, lot, mot result = re.findall(‘b[ao]t’, string) print (result) O ‘bat, bet, bit, bot’ O [‘bat’, ‘bot’] O ‘bat, bot O [‘bat’, ‘bet’, ‘bit’, ‘bot’]
Leave a Reply