Back to Lesson
Text Redaction
Remove sensitive information from text components using replace.
Instructions
- Given
comment = "This product is terrible! I hate it." - Replace the wordwith
"terrible", and"not great"with"hate"."dislike" - Print the updated review.
main.py
main.py
Ctrl + Enter