cannot figure out the errors. max_amount = 100 min_amount = 1 price = 5 order_am
ID: 3745045 • Letter: C
Question
cannot figure out the errors.
max_amount = 100
min_amount = 1
price = 5
order_amount = float(input("Enter cheese order weight (numeric value):"))
if (order_amount > max_amount):
print (order_amount, "is more than currently available stock")
elif (min_amount <= order_amount <= max_amount):
print (order_amount, "costs $", (price * (order_amount)))
else:
print (order_amount, "is below minimum order amount")
Explanation / Answer
max_amount = 100 min_amount = 1 price = 5 order_amount = float(input("Enter cheese order weight (numeric value):")) if order_amount > max_amount: print(order_amount, "is more than currently available stock") elif min_amountRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.