Dec-24-2018, 01:38 AM
First of all, Larz pointed out that you need to post code in python tags, and gave you a link on how to do it. Fix that.
Second, it's because you are only testing 'yes'. 'yes' is True, because all non-empty strings are True. You need to specify that you are testing to see if user is yes (
Second, it's because you are only testing 'yes'. 'yes' is True, because all non-empty strings are True. You need to specify that you are testing to see if user is yes (
if user == 'yes':
), otherwise the computer has no idea what youare trying to do.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures