the-honk/school/gcse/year 9/python challenges/9 - Olympics.py
2024-10-09 18:02:36 +01: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()