Answer the question
In order to leave comments, you need to log in
How to write a text translation function using a word translation dictionary?
The function definition is: def translate_text(text: str, vocabulary: dict) -> str:
The function generates and returns a new string based on the given text, in which:
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question