The story of the tiger paradox

A young man proposed to the princess, and the king made a condition. Say to the young man, "There are five doors, and a tiger will jump out of one of them, but you will never know which one." The young man thought, if there is a tiger in the door, you should tell me first. How could I not have thought of that? So there must be no tiger behind the door.

Young people must open five doors in turn, and a tiger will go out and appear in one of them. Young people can get the princess if they kill the tiger. Then the young man stood in front of the door and began to reason. If there is no tiger after I open the first four doors, the tiger must be at the fifth door. The king says the tiger is at an unexpected door, so the tiger is definitely not at the fifth door. By analogy, tigers do not exist. Finally, the young man rashly began to push the door, and the tiger jumped out of the second door.