0

Can anyone solve this?

#the list of breakfasts breakfasts = [ 'Donuts', 'Waffles', 'Yogurt', 'Burrito', 'Toast'] #index of the item to be replaced item = int(input()) #replace that item with "Pancakes" #display the updated list

14th Nov 2024, 7:36 PM
Maria Silva
Maria Silva - avatar
3 Answers
+ 3
Anyone can. If you need help, show your attempt.
14th Nov 2024, 7:56 PM
Lisa
Lisa - avatar
+ 1
Review the lesson and pay attention to the part about how to insert an item at an index.
15th Nov 2024, 7:42 AM
Ausgrindtube
Ausgrindtube - avatar
+ 1
It would be better to solve it by yourself in order to improve well and quickly
15th Nov 2024, 8:41 PM
Micheal Jabbour
Micheal Jabbour - avatar