How to write a Python program to check whether the PIN entered by the user is four-digit number or not?