0
What is the problem with my code? I didnt pass the test Cases. The test enter input choice 0, 2, 8.
https://code.sololearn.com/cY93XAopFXs7/?ref=app If input choice = 2, this code must print coffee[choice] then execute finally output "Have a good day". But why the output is different? It seems that my code is changed
2 Answers
+ 4
Oliver Pasaribu in your code you are missing the second e in the word coffee on line 7
+ 2
Your variable name is "coffee" but when you want to print you try to call "coffe". It' just a typo :)