r/PythonLearning • • Nov 02 '26

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

1 comment sorted by