Q58
What will be the output of the following Python code? re.split(r'(n )=', 'n1=3.1, n2=5, n3=4.565')
A.
Error
B.
[", 'n1', '3.1, ', 'n2', '5, ', 'n3', '4.565']
AnswerC.
['n1', '3.1, ', 'n2', '5, ', 'n3', '4.565']
D.
['3.1, ', '5, ', '4.565']
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board