### Instruction: A fruit basket consists of 4 bananas, 3 apples, 24 strawberries, 2 avocados, and a bunch of grapes. One banana costs $1. An apple costs $2. 12 strawberries cost $4. An avocado costs $3, and half a bunch of grapes costs $2. What is the total cost of the fruit basket? Let's write a Python program to solve it.### Response: # define the quantities and cost of each fruit 
bananas = 4 
banana_cost = 1 

apples = 3 
apple_cost = 2 

strawberries = 24 
strawberry_cost = 4/12 

avocados = 2 
avocado_cost = 3 

grapes = 1 
grape_cost = 2*2 

# calculate the total cost 
total_cost = (bananas * banana_cost) + (apples * apple_cost) + (strawberries * strawberry_cost) + (avocados * avocado_cost) + (grapes * grape_cost) 

# print the total cost 
print(total_cost)