+ 9

It was a mistake in the code and it's a question and now I just do not understand it :) This code is totally unclear !?

https://code.sololearn.com/c2uIqWLbV0BE/?ref=app

19th Mar 2018, 10:55 PM
Vučko/Вучко/Vuchko
Vučko/Вучко/Vuchko - avatar
2 Antworten
+ 3
Your code has absolutely no problems in it. For basic syntax though, "for i in " generally means that i is an integer. You should use a more desciptive name, in this case i would recommend: "for topping in ingredients"
20th Mar 2018, 8:51 PM
Daan van IJcken
Daan van IJcken - avatar
+ 1
Your code works OK. It just doesn't print out anything.
20th Mar 2018, 2:23 AM
🤖 Basile Laderchi