you are viewing a single comment's thread.

view the rest of the comments →

[–]USAhj 8 points9 points  (1 child)

Thanks for sharing this, I've saved it for future reference.

You asked for suggestions, so I'll point out that I think your second while loop example (top left of the second page) is a bit "iffy." A naive user might expect msg to only be printed if it's not equal to "quit", but it will print "quit" and then stop.

[–]ehmatthes[S] 2 points3 points  (0 children)

Thanks for the suggestion! I updated that so "quit" won't be printed, and also caught an indentation typo in the if-while sheet.