To be absolutely certain, you should:
* Consult a repair manual: A Haynes or Chilton manual specific to your 2002 Pontiac Grand Prix will have diagrams showing the exact location.
* Use a diagram: You can often find diagrams online by searching "2002 Pontiac Grand Prix coolant temperature sensor location." Be sure to specify the engine size (3.1L, 3.4L, or 3.8L) as the location might vary slightly.
Because of the potential for multiple sensors and slight variations depending on the engine, visually checking based on the above information is the best approach. Don't hesitate to use a repair manual or online diagram to confirm.