# Kathleen Prendergast
# 5/5/22
# Find total cost of grocery list

# You're taking a trip to the grocery store and want the total price of the
# items you're going to buy

# Bananas
num_bananas = int(input("How many bananas do you want? "))
banana_price = float(input("How much does one banana cost? "))
print()

# Apples
num_apples = int(input("How many apples do you want? "))
apple_price = float(input("How much does one apple cost? "))
print()

# Oranges
num_oranges = int(input("How many oranges do you want? "))
orange_price = float(input("How much does one orange cost? "))
print()

# Add up total cost for each item and print!
total_price = num_bananas*banana_price + num_apples*apple_price + num_oranges*orange_price
print("The total cost is", total_price, "dollars.")

