R exercise

4.1.2 Weight

Sign in to hand in your solution and get feedback.