[ANSWERED] What will be the output of the following code? import re string ‘bat, lat, mat, bet, let, met, bit,.

Written by

in

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’]

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *