— John 11:41
Here we see a good example of Jesus giving thanks to God.
When you pray, I encourage you to end your prayer, as Jesus did here, by saying, "Father, I thank You that You have heard me."
One reason I encourage you to do that is because, as John tells us, when we know that God has heard us, we know that He has granted us our requests (See 1 John 5:14-15).