Probably a really stupid question...

Is doing 100 push-ups and doing 50 push ups and then taking a few minutes break and then doing 50 more the same thing? Will either one constantly doing it that way get you the same results? Or is doing the 100 push ups with no break better for you? I'm experienced so I can handle it I just would like to know