Scottish Labour’s deputy leader defended the Prime Minister’s record in government.