May-28-2017, 08:07 PM
(May-28-2017, 08:03 PM)ichabod801 Wrote: This is your error:Thank You!if fa == 'yes' or 'y':Python reads it like this:if (fa == 'yes') or ('y'):Since any non-empty string evaluates as True, the second part is True, and the whole expression is always True. You want:if fa == 'yes' or fa == 'y':orif fa in ('yes', 'y'):I would also use break instead of quit, and more descriptive variable names (a and fa are confusing). Also, if you put the three dice into a list, and then sort that list, then the comparisons are much easier (especially for straights).