0
I'm solving everything correctly but it says that it's not, here's the code
weight = int(input()) def shipping_cost(weight): print("Shpping cost:", weight*5) shipping_cost(weight) where problem????
4 Réponses
+ 3
Please take a closer look at the expected output.
It requires the cost only, without any string.
+ 1
Is it from a lesson or code coach?
What is the task description?
0
from lesson here description Imagine you need to calculate the shipping cost for customer orders based on the weight of the packages.
The cost per kilogram is $5.
Task
Complete the shipping_cost() function to take the weight as an argument, calculate the shipping cost based on the weight, and display it in the given format.
The function call is already done.
0
Oh really Thank you!