Test Your Skill

A thief enters a shop and threatens the clerk, forcing him to open the safe. The clerk says, “The code for the safe is different every day, and if you hurt me you’ll never get the code”. But the thief manages to guess the code on his own How did he do it?

Here