My code:
reask = input('So do you want me to solve a quadratic equation? Last chance or I will close and you have to start me again! Make sure you type \'yes\' or \'no\': ')
reask = reask.lower
if reask == 'yes':
print ('Great!')
else:
print ('See ya!')
raise SystemExit
When the user inputs 'yes'
, the program interprets it as something else and ends up printing out 'See ya!'
then closing the program. It's supposed to print 'Great!'
. What's the issue?