**CodeAcademy: Hotfix** Fix for this


fix for this, examples are shown in previous coding examples. Compiles gets the same answer

print “%s \nprice: %s \nstock: %s \n” % (x, prices[x],stock[x])


what is your question? I think i know which exercise this, but you really need 3 print statements here in order to pass the exercise


Its not a question. It’s a suggestion for a hotfix. I’m sure I am not the only person which ran this one line instead of three.


but the instructions explicitly state the use of 3 print statements. I wouldn’t opt for what you are doing, it doesn’t make the code very readable, i agree with the exercise that 3 print statements is better.

When programming on your own, you are free to do many things, lessons have usually certain restrictions


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.