#fishing project
amount = float(input("Hi, I have hear that you sell fish, how much are you willing to sell me? "))
poundToGram = float(amount)*453.592
if poundToGram in range(1, 1000): print("Here is 1000, thankyou have a good day") elif poundToGram in range(1001, 2999): print("Since you have given me more than 1000 grams of fish, I will pay 2x more per gram") elif poundToGram in range(3000, 6999): print("Since you have given me more than 3000 grams of fish, I will pay 3x more per gram") elif poundToGram in range(7000, 10000): print("You have provided me with more than 7000 grams of fish , I will pay you 3x more per gram and provide you with a prize.")
Aucun commentaire:
Enregistrer un commentaire