the-honk/school/gcse/year 9/python challenges/9 - Olympics.py
2021-12-21 19:46:28 +00:00

11 lines
No EOL
255 B
Python

def ask():
inp = str.lower(input('Please input an olympic value.'))
if (inp == 'respect') | (inp == 'excellence') | (inp == 'friendship'):
print('That\'s correct!')
exit()
else:
print('Try again!')
ask()
ask()