beginner
Replace with Empty
Remove text by replacing it with an empty string.
📝 Nội dung Prompt
Start with the string 'I like cats and dogs'. Use the built-in string replace method to remove the word ' cats ' by replacing it with an empty string (""). Print the new string.