a guest Jan 12th, 2018 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- 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