376,220 views
8 votes
8 votes
Ask the user to enter a sentence. If the sentence has any mention of dog, tell the user (once) Dogs are cute. If the sentence has any mention of taco, tell the user (once) Tacos are tasty. Change each mention of dog to puppy. Change each mention of taco to burrito. Print the new sentence. Capitalization matters! For example, if theres a mention of Dog (note where the capital letter is), it should be changed to Puppy (note where the capital letter is). You will only need to look for mentions of dog, Dog, taco, and Taco. The plural forms are allowed but the final output for dog / Dog will not be grammatically correct, and this is ok. See sample output.

User Stegrex
by
2.7k points

1 Answer

13 votes
13 votes

Answer:

Theses puppies are so cute!

Theses burritos are so yummy!

Would you like a taste of this delicious taco dog?

Step-by-step explanation:

there you go plz may i have a brainilist??

User Drazul
by
3.2k points