text = "Where there are a will, there are a way"
# 查找是否包含 "are"
if "are" in text:
    # 用 replace 将 are 替换为 is
    corrected_text = text.replace("are", "is")
    print(corrected_text)
else:
    print("未找到要替换的单词")
