Vidyalelo
Python · Q131

MCQs for Python Strings: Exam

Programming · Python · question 131

Q131

What will be the output of the following Python code snippet? print('abcd'.translate(97: 98, 98: 99, 99: 100))

A.
bcde
B.
abcd
C.
error
D.
none of the mentioned
Answer

Answer: Option D

Solution

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