Q45
What will be the output of the following Python code snippet? print('abcd'.translate('a'.maketrans('abc', 'bcd')))
A.
bcde
B.
abcd
C.
error
D.
bcdd
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board