''' Demonstrate the use of if-elif-else input: money an integer representing how much money can be spent ''' money = 100 # 7, 2, 0 if money >= 100: print('You buy a pair of headphones') money -= 80 elif money < 50 and money >= 25: print('You buy a movie') money -= 25 elif money < 10 and money >= 5: print('You buy a burger') money -= 5 else: print('You buy a fry') money = 0 print('Starting with $100 you have $' + str(money) + ' left.')