You have installed an application in your phone. The security feature of the application allows you to enter a PIN number of 4 digits only. Create a program in Python to check whether the PIN number entered by the user is a 4-digit number or not. Please help. Don't post irrelevant answers. They will be reported.
Answers
Answered by
20
Answer:
password = str(input("Enter PinCode"))
if len(password)!=4:
print("\nInvalid PinCode")
else:
print("\nVerifying Password")
Similar questions