Test your problem solving ability with this robot logic puzzler!

You are locked in a room with only two doors. Each door is guarded by a robot. One door leads to your escape, while the other leads to certain death.

In order to choose your door, you are allowed to ask one question of either (but not both) of the robot guards.

One of the robot guards always lies. The other always tells the truth.

What question do you ask in order to get out alive?

Check the answer!
You should ask either robot which door the other robot would tell you to go through.  Then go through the opposite door!