Answer:
Let me know if you have any questions
Step-by-step explanation:
# as the user for the waist size.
x = float(input("Enter the waist size between 26.5 to 36.75: "))
# using conditionals to determine the size of jeans for the customer.
if (26.5 <= x <= 27.5):
print("your jeans size is 2")
elif (27.5 < x <= 28.5):
print("your jeans size is 4")
elif (28.5 < x <= 29.5):
print("your jeans size is 6")
elif (29.5 < x <= 30.5):
print("your jeans size is 8")
elif (30.5 < x <= 31.75):
print("your jeans size is 10")
elif (31.75 < x <= 33):
print("your jeans size is 12")
elif (33 < x <= 34.25):
print("your jeans size is 14")
elif (34.25 < x <= 35.5):
print("your jeans size is 16")
elif (35.5 < x <= 36.75):
print("your jeans size is 18")