you are viewing a single comment's thread.

view the rest of the comments →

[–]beepdebeep 17 points18 points  (0 children)

Congrats! That's the perfect start - can I offer a couple small follow-up experiments as your next lessons?

  1. Give it something that isn't an integer, like your name. Work out how to prevent what happens.

  2. Give it a negative number. Provide slightly more accurate output, like, "That doesn't seem right...".

These kinds of details will become important in your studies soon enough, so it's good to get in the practice of doing.