Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Given the list named new_pizzas []: 'pepperoni', 'margherita', 'hawaiian', 'italian sausage', 'gree a) Use a list method that lets you add a new flavour to
Given the list named new_pizzas []: 'pepperoni', 'margherita', 'hawaiian', 'italian sausage', 'gree a) Use a list method that lets you add a new flavour to add 'spinach and feta' to the end of the list. [ ] : #rii []: b) Grab the element with value 'italian sausage' from the list new_pizzas, assign it to a variable named my_pizza. c) From the variable my_pizza grab the slice that corresponds to 'italian' and the slice that corresponds to 'sausage' (be careful, don't include spaces), assign them to variables named word_1 and word_2 respectively, and print them. [ ]: [ ]
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started