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
3 Answers
+ 3
Anyone can.
If you need help, show your attempt.
+ 1
Review the lesson and pay attention to the part about how to insert an item at an index.
+ 1
It would be better to solve it by yourself in order to improve well and quickly