Question: Use the table above to answer the questions below : (i) Using Python program, store the names of the Costume from the table above
Use the table above to answer the questions below :\ \ (i) Using Python program, store the names of the Costume from the table above in a list called Costumes. (2 points)\ \ (ii) Use the insert( ) to add one new Costume to the beginning of the list and one to the end of the list. (2 points)\ \ (iii) Use a for loop to print only the Costumes, that the prices are less than $40 from the original list. (2 points)\ \ (iv) Use reverse( ) to change the order of the Costume list. Print the list to show it's order has changed. (2 points)\ \ (v) Print the message " The last three items in the list are " , use a slice to print the last three items in the list. (2 points)\
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
