Question: please i need this quickly Q3 Changing List Elements 4 Points def add_exlamation (words): exciting_words = [1] for word in words: exciting_words, append(word +1 )

please i need this quickly
please i need this quickly Q3 Changing List Elements 4 Points def

Q3 Changing List Elements 4 Points def add_exlamation (words): exciting_words = [1] for word in words: exciting_words, append(word +1 ) return exciting_words def add_exlamation2 (words): for idx in range(1en(words)): return words The add_exclamation function above takes in a list of words, and returns a new list which contains the same words as the original, except that a '!' has been concatenated onto the end of each one. Fill in the blank in the add_exlamation2 function below it, such that add_exclamation2 does the same thing as add_exclamation, except that it changes the original list rather than creating a new one. Q4 Common List Errors 10 Points The following code is supposed to have the user input 5 integers, and then print out the sum of all

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!