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????

11th Mar 2024, 8:34 AM
hm hm
hm hm - avatar
4 Antworten
+ 3
Please take a closer look at the expected output. It requires the cost only, without any string.
11th Mar 2024, 8:56 AM
Wong Hei Ming
Wong Hei Ming - avatar
+ 1
Is it from a lesson or code coach? What is the task description?
11th Mar 2024, 8:51 AM
Wong Hei Ming
Wong Hei Ming - avatar
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.
11th Mar 2024, 8:55 AM
hm hm
hm hm - avatar
0
Oh really Thank you!
11th Mar 2024, 9:06 AM
hm hm
hm hm - avatar