R exercise

4.2.2 Weight

Sign in to hand in your solution and get feedback.