Weight loss

I’ve heard breastfeeding helps lose weight but what if u just pump? Will they have the same results?