Discussion :: Python MCQs
-
What is the output of the following?print('a'.maketrans('ABC', '123'))
Answer : Option A
Explanation :
maketrans() is a static method so it's behaviour does not depend on the object from which it is being called.
Be The First To Comment