+ 4
Why doesn't Sololearn PRO fully resolve my code?
Three of the tests are correct, three are not correct, which are hidden. So, I can't see where my error is. Please, help me. https://code.sololearn.com/cg2eebgA2EB2/?ref=app
3 Answers
+ 5
Brian ,Thanks. It is working fine now.
+ 2
for j in snaks:
if j in snaks:
# j always in the snaks
+ 2
Egor Tonchev(EGO) What is k, and where is it assigned?
If "Lettuce" is one of the acceptable snacks, then you should correct the spelling from "Lettuse".