Skip to content

Commit 0405b4a

Browse files
committed
added a new line to Shipping_Cost_Calculator.py
1 parent 717eb6c commit 0405b4a

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

Shipping_Cost_Calculator.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1 @@
1-
# Shipping Cost Calculator
2-
3-
## Input package weight and shipping rate
4-
weight = float(input("Enter the package weight in kilograms: "))
5-
rate = float(input("Enter the shipping rate per kilogram: "))
6-
7-
## Calculate shipping cost
8-
shipping_cost = weight * rate
9-
10-
## Display the result
11-
print(f"Shipping Cost: {shipping_cost} USD")
12-
1+
# Here's a new update from MoathAbdalla

0 commit comments

Comments
 (0)