1.

What is the output of the following? print('abcd'.translate({'a': '1', 'b': '2', 'c': '3', 'd': '4'}))

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


Discussion

No Comment Found