Why won't the 'goodbye' part of this code work right? it prints 'ok' no matter what is typed. Much thanks.
def thing(): print('go again?') goagain=input() if goagain=='y' or 'yes': print('ok') elif goagain!='y' or 'yes': print('goodbye') sys.exit() thing() -- http://mail.python.org/mailman/listinfo/python-list