First, check if "squats" is present in routine, then, inside the conditional, remove it.
"squats"
routine
Make sure to pick if followed by "squats" and then in, routine:, routine.pop("squats").
if
in
routine:
routine.pop("squats")