?
What will be the output of the following Python code snippet?
What will be the output of the following Python code snippet?
print('abcd'.translate({'a': '1', 'b': '2', 'c': '3', 'd': '4'}))
print('abcd'.translate({'a': '1', 'b': '2', 'c': '3', 'd': '4'}))
Join the Discussion
Login to post a comment or share your explanation.
Login