Question: # a) Write python code below that does the following: # for each digit in MY_NUM, remove the corresponding item from the list above. #

 \# a) Write python code below that does the following: \#
for each digit in MY_NUM, remove the corresponding item from the list

\# a) Write python code below that does the following: \# for each digit in MY_NUM, remove the corresponding item from the list above. \# As an example, if your MY_NUM is 10233, then you will remove the following \# items from the list abovez chamber (index 1), orchids (index ), \# phoenix (index 2), and central (index 3). \# Once completed, my_list should have fewer items. \# Note: your approach for item removal should be based on the items \# as determined from the ORIOIMAL UNMODIFIED list - in this example, those \# words are: chamber, orchids, phoneix, and centra1. Make sure the correct \# words are getting removed. \# b) Write python code below that does the following: \# Now that my_list has fewer items, compute the number of words from my_1ist \# where the first or last letter matches at least one of the letters of \# MY_WORD. The count should be set in a variable named my_count. It is \# initialized to below. \( m y_{\text {_count }}=0 \) \# please do not modify these last few lines. They will be used to evaluate your \# exam. If you have used any print statements in your own code, please comment * them out. orig_1ist =1 8 ['orchids' "chamber' " "phoenix" , central" "Juggler', 'dungeon', 'passive', 9 'capable' "creator" " 'rabbits'" "succeed" ,'compute', 'achieve', 'attempt', 9 'network' ,'address', "supreme', "belfeve', 'concern', 'explore', 'finance', 'benifit' "' 'Iicense' " "carcass' " abalone', "morning', 'abandon', 'macabre', 'teacher', 'bilition', "yankees" , "mstake', 'suspect', 'barrack', 'connect', 'operate', 'cabbage', 'ability' , 'rushing', 'passion', 'perfect', 'fashion', 'outputs" "'success" " banking" " Journal' 1

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!