Home / Expert Answers / Computer Science / 3-write-a-program-that-does-the-following-a-creates-a-sequence-that-has-the-names-of-seven-fruits-pa904

(Solved): 3. Write a program that does the following: a. Creates a sequence that has the names of seven fruits ...



3. Write a program that does the following: a. Creates a sequence that has the names of seven fruits. b. Asks the user for a sentence. c. Tells the user how many fruits are in that sentence. d. Displays a list of fruits in the sentence. e. Finds and replaces one instance of a fruit in the sentence with “Brussel Sprouts”. f. Displays the new sentence to the user. 4. The program should be able to find fruits whether they are capitalized or not. To do this use the .lower() method. Do not just put both upper and lower case versions in the fruit list. 5. Program should look something like this:



We have an Answer from Expert

View Expert Answer

Expert Answer


We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe