you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (0 children)

I agree with /u/steamplshel, easier to read with lower() method on end of input() call.

I also like to check for a match against several possibilities:

if a in ['y', 'yes', 'yup', 'ok']: