← 返回 airbnb 的题目列表Replace Text for Review
类型:online_judge
Given a piece of text, find and replace specific words.
Input:
A string representing the text content.
A dictionary of words and their replacements.
Output:
The modified string after replacements.
Example
Input
The quick brown fox;{'quick': 'slow', 'brown': 'black'}
Output
The slow black fox