Python Pancakes Practice code answer | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Python Pancakes Practice code answer

https://www.sololearn.com/compiler-playground/cSro3W3YRkfo Can anyone that's on the indexing part of the Python course explain what I am doing wrong here?

12th Oct 2023, 6:54 PM
Junior Usuanlele
4 Answers
+ 7
Junior Usuanlele , i saw your code: we only need to replace one element from the list by using the variable item: ... breakfasts[item] = 'Pancakes' ... > we also need to output the complete list `breakfasts`
12th Oct 2023, 8:25 PM
Lothar
Lothar - avatar
+ 4
Junior Usuanlele you have to print the answer
12th Oct 2023, 8:22 PM
Junior
Junior - avatar
+ 2
Thanks I'll give it another go
16th Oct 2023, 1:00 AM
Junior Usuanlele
+ 2
Lothar i feel so dumb how easy it was and how much I was struggling with it
17th Oct 2023, 7:46 PM
Junior Usuanlele