+ 1
Pancakes, error or am I stupid?
I get a green check for test case one but it fails me for something I can see doesn't even exist in my code? I can see the outputs match. Am I doing something wrong still?
4 Antworten
+ 3
What is your question? What is the task description? And how your code is made?
Please run this code, read the contents, then provide the essential details.
Otherwise, no one know what your question is.
https://sololearn.com/compiler-playground/WgUUoIFf6Fdm/?ref=app
+ 2
Rodney Burnette did you try
breakfasts[item] = "Pancakes"
This assigns the index based on item in the breakfast list
0
breakfasts [0] = "Pancakes"
It gives me a green check and still fails me
0
Rodney Burnette Do not hardcode a 0 in the brackets
The answer is exactly what I showed you.
breakfasts[item] = "Pancakes"