First, check if "squats" is present in routine, then, inside the conditional, remove it.

Make sure to pick if followed by "squats" and then in, routine:, routine.pop("squats").