Here is a possible implementation of the shopping basket cost function in Python:

```python
def calculate_basket_cost():
    apples_price = 4.50
    eggs_price = 2.00
    milk_price = 1.00
    
    apples_quantity = 2
    eggs_quantity = 6
    milk_quantity = 1
    
    total_cost = apples_price * apples_quantity + eggs_price * eggs_quantity + milk_price * milk_quantity
    
    return total_cost
```

This function defines the prices and quantities of each item in the basket, and then calculates the total cost by multiplying each price by its corresponding quantity and summing the results. The total cost is returned as a floating-point number. You can call this function from another part of your program to get the basket cost.
Oggetti: - Mele (x2): 4,50 - Uova (x6): 2,00 - Latte (x1): 1,00
Scrivi una funzione per calcolare il costo totale di un carrello