We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a92ac8 commit f87f540Copy full SHA for f87f540
Helloworld
@@ -0,0 +1,8 @@
1
+# Shipping Cost Calculator
2
+## Input package weight and shipping rate
3
+weight = float(input("Enter the package weight in kilograms: "))
4
+rate = float(input("Enter the shipping rate per kilogram: "))
5
+## Calculate shipping cost
6
+shipping_cost = weight * rate
7
+## Display the result
8
+print(f"Shipping Cost: {shipping_cost} USD")
0 commit comments