In: Computer Science
[4 marks] Write a Python program for a “Deliver-Eat!” app that asks the user for their tip amount. If the user tips less than $5 they should receive a 1-star rating. If the user tips $5 or more they should receive a 5-star rating. Your program should match the output below. User input is in red. >>> How much would you like to tip? $4.50 >>> Here is your rating! * >>> How much would you like to tip? $7.20 >>> Here is your rating! *
#Python code
tip = float(input('How much would you like to tip? $'))
if tip < 5:
print('Here is your rating! *')
else:
print('Here is your rating! *****')
#Screenshot