diff --git a/test.py b/test.py new file mode 100644 index 000000000..52a989f04 --- /dev/null +++ b/test.py @@ -0,0 +1,8 @@ +# 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")