Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 323 Bytes

CONTRIBUTING.md

File metadata and controls

11 lines (8 loc) · 323 Bytes

Shipping Cost Calculator

Input package weight and shipping rate

weight = float(input("Enter the package weight in kilograms: ")) rate = float(input("Enter the shipping rate per kilogram: "))

Calculate shipping cost

shipping_cost = weight * rate

Display the result

print(f"Shipping Cost: {shipping_cost} USD")