Practice ยท 2 of 3
Shipping Calculator
weight = 1.0 is given (kg โ right on the boundary). Print the cost: 5.0 for up to 1kg inclusive, 9.0 for up to 5kg, 15.0 above โ formatted with :.2f.
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Mini Builds: Validators