Vidyalelo
Python · Q137

MCQs for Python Strings: Exam

Programming · Python · question 137

Q137

What will be the output of the following Python code snippet? print('abef'.partition('cd'))

A.
('abef')
B.
('abef', 'cd', ")
C.
('abef', ", ")
Answer
D.
error

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board