Examveda

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}

C. {97: 49}

D. 1

Answer: Option B


This Question Belongs to Python Program >> Strings In Python

Join The Discussion

Related Questions on Strings in Python