a guest Jan 12th, 2018 62 Never
- def which_prize(points):
- if points <= 50:
- prize='Congratulations! You have won a wodden rabbit'
- elif points >= 51 and points <= 150:
- prize ='oh dear no prize, this time'
- elif points >= 151 and points <= 180:
- prize ='Congratulations! You have won a wafer-thin mint'
- elif points >= 181 and points <= 200:
- prize = 'Congratulations! You have won a penguine'
- points = int(input("enter points: "))
RAW Paste Data