qty = int(input("Enter the quantity: "))

if qty > 10000:
    price = 10.00
elif qty <= 5000 and qty >= 10000:
    price = 20.00
else:
    price = 30.00

extprice = qty * price

tax = round(extprice * 0.07)

total = extprice + tax

print("Extended price: $", extprice)
print("Tax:            $", tax)
print("Total:          $", total)
807dc16724c5ea09b4d13ec0c745f0583b7e8d09
<mask token>

<mask token>
if qty > 10000:
    price = 10.0
elif qty <= 5000 and qty >= 10000:
    price = 20.0
else:
    price = 30.0
<mask token>
print('Extended price: $', extprice)
print('Tax:            $', tax)
print('Total:          $', total)

qty = int(input('Enter the quantity: '))
if qty > 10000:
    price = 10.0
elif qty <= 5000 and qty >= 10000:
    price = 20.0
else:
    price = 30.0
extprice = qty * price
tax = round(extprice * 0.07)
total = extprice + tax
print('Extended price: $', extprice)
print('Tax:            $', tax)
print('Total:          $', total)

qty = int(input("Enter the quantity: "))

if qty > 10000:
    price = 10.00
elif qty <= 5000 and qty >= 10000:
    price = 20.00
else:
    price = 30.00

extprice = qty * price

tax = round(extprice * 0.07)

total = extprice + tax

print("Extended price: $", extprice)
print("Tax:            $", tax)
print("Total:          $", total)