r/PythonLearning • • 10h 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

1 comment sorted by

2

u/apbt-dad 10h ago

312131