0

I have carefully coded the shipping cost case. Why is it not working?

9th Jul 2023, 5:42 PM
Biyensa Negera
Biyensa Negera - avatar
20 Respuestas
+ 8
Are you sure you should have an underscore "_" in the print statement? Can you copy the task here too?
9th Jul 2023, 6:34 PM
Ausgrindtube
Ausgrindtube - avatar
+ 5
Share your code
9th Jul 2023, 6:21 PM
Sakshi [Offline 🙃]
Sakshi [Offline 🙃] - avatar
+ 3
Biyensa Negera the code is working it shows 'shipping cost' then what's your question?
9th Jul 2023, 6:37 PM
Sakshi [Offline 🙃]
Sakshi [Offline 🙃] - avatar
+ 3
Logina Amr we also don't know what's wrong unless we see your code. Can you attach it like the following: https://code.sololearn.com/Wek0V1MyIR2r/?ref=app
12th Jul 2023, 6:13 AM
Ausgrindtube
Ausgrindtube - avatar
+ 3
I believe you're missing a little detail: "Shipping" or "shipping" for the print?
20th Jul 2023, 9:50 PM
Ausgrindtube
Ausgrindtube - avatar
+ 2
Thank you for your help! The problem is an underscore It worked now
9th Jul 2023, 6:40 PM
Biyensa Negera
Biyensa Negera - avatar
+ 2
Ismael Feria, share your code
12th Jul 2023, 11:35 AM
Biyensa Negera
Biyensa Negera - avatar
+ 2
Please help with this its been a week and i cant solve it #taking the weight as input weight=int(input()) #complete the function def shipping_cost(weight): print("shipping cost:",weight*5) #function call shipping_cost(weight)
15th Jul 2023, 5:06 PM
ismael Feria
ismael Feria - avatar
+ 2
Hi Junior Luiz , what isn't working? Can you share your code as per this guide: https://code.sololearn.com/Wek0V1MyIR2r/?ref=app
22nd Sep 2023, 3:36 PM
Ausgrindtube
Ausgrindtube - avatar
+ 1
weight=int(input()) def shipping_cost(weight): print("Shipping_cost:", weight*5) shipping_cost(weight)
9th Jul 2023, 6:31 PM
Biyensa Negera
Biyensa Negera - avatar
+ 1
It's not working for me either and i've checked everything i don't know what's wrong
11th Jul 2023, 5:42 PM
Logina Amr
Logina Amr - avatar
0
Logina Amr check the underscore
11th Jul 2023, 6:13 PM
Biyensa Negera
Biyensa Negera - avatar
0
Which one?
11th Jul 2023, 6:23 PM
Logina Amr
Logina Amr - avatar
0
I cheked the underscore and its not working help with this please i am stuck in this excersise
12th Jul 2023, 11:04 AM
ismael Feria
ismael Feria - avatar
0
#taking the weight as input weight = int(input()) #complete the function def shipping_cost(weight): print("shipping cost:",weight*5) #function call shipping_cost(weight)
20th Jul 2023, 12:15 PM
ismael Feria
ismael Feria - avatar
0
Isnt wok
22nd Sep 2023, 10:43 AM
Junior Luiz
Junior Luiz - avatar
0
Work
22nd Sep 2023, 10:43 AM
Junior Luiz
Junior Luiz - avatar
0
Expected output is 25
20th Nov 2023, 8:40 AM
Allan Tornemand
Allan Tornemand - avatar
0
#taking the weight as input weight = int(input()) #complete the function def shipping_cost(weight): print(weight*5) #function call shipping_cost(weight) answer
6th Dec 2023, 7:15 AM
pegee
pegee - avatar
0
#taking the weight as input weight = int(input()) cpk = 5 #complete the function def shipping_cost(weight): weight = weight * cpk print (weight) return weight #function call shipping_cost(weight)
11th Jan 2024, 1:03 PM
Mohammed Afzal Hussain
Mohammed Afzal Hussain - avatar