r/PythonLearning • • 20d ago

Pyton Quiz of the day.

What will be the output of the following Python Code?

table = str.maketrans("abc", "123")
print("cabaca".translate(table))

0 Upvotes

Duplicates