Я пытаюсь создать программу с python, которая вычисляет стоимость доставки.
Однако я не могу запустить программу там, где она работает правильно.
То, что моя общая сумма равна той же сумме, составляет 6 долларов США для США и 8 долларов США для Канады. Кажется, я не могу пройти.
total = raw_input('What is the total amount for your online shopping?')
country = raw_input('Shipping within the US or Canada?')
if country == "US":
if total <= "50":
print "Shipping Costs $6.00"
elif total <= "100":
print "Shipping Costs $9.00"
elif total <= "150":
print "Shipping Costs $12.00"
else:
print "FREE"
if country == "Canada":
if total <= "50":
print "Shipping Costs $8.00"
elif total <= "100":
print "Shipping Costs $12.00"
elif total <= "150":
print "Shipping Costs $15.00"
else:
print "FREE"