Vidyalelo
Python · Q51

MCQs for Python Strings: Exam

Programming · Python · question 51

Q51

What will be the output of the following Python code? print('a'.maketrans('ABC', '123'))

A.
{97: 49, 98: 50, 99: 51}
B.
{65: 49, 66: 50, 67: 51}
Answer
C.
{97: 49}
D.
1

Answer: Option B

Solution

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