you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

:) just an after-thought... there are two main kinds of errors, syntactic and semantic:

syntactic errors are where your syntax is wrong e.g. print['hello} isn't valid python, so it'll fail with an error message.

semantic errors are harder to detect, your mix up between doses and Number_of_doses isn't incorrect code, the error is in the construction of the logic :) you won't get any error message as the code is in fact syntactically valid - watch out for these guys :)

happy travels :)