Pick a card. You get 1 of 52 possibilities.
If you put the card back, the next draw remains 1 of 52 possibilities.
If you do NOT put the card back, the next draw is 1 of 51 possibilities.
Put it back? With Replacement.
Don't Put it back? Without Replacement.
Each draw is a heart or it isn't. WITH replacement, the probabilties do not change with each draw.
13/52 heart 39/52 not a heart
If one is to get ALL FOUR hearts, that shoudl be (13/52)^4. There is only one sequence that will produce this result.
If one is get THREE hearts, there are four different sequences that will work. OHHH, HOHH, HHOH, and HHHO. Each of these has probability (39/52)*(13/52)^3. Multiplication is commutative, so the probablities don't change. The order DOES matter a little - it makes four ways to do it, rather than just one.
What do you get?