A super simple Python script to calculate shipping costs based on package weight in grams.
- Enter the weight of your package.
- The script returns the shipping cost in euros.
- Rates used:
- Up to 500g: €4.95
- Up to 2000g: €6.95
- Above 2000g: €9.95
Run the script using Python:
python3 shipping_calculator.py
Eric Kochen – github.com/erickochen