0

Can anyone please help me ?

Python program to validate phone number, adhar number and pincode

17th Sep 2020, 1:39 PM
Nandini B N
2 Answers
0
import re def Valid(num): Pattern = re.compile("[6-9][0-9]{9}") return Pattern.match(num) num=input() if (Valid(num)): print ("It is a Valid Number") else : print ("Invalid Number")
17th Sep 2020, 1:52 PM
Nandini B N
0
But I don't know how to validate pincode and adhar number
17th Sep 2020, 1:52 PM
Nandini B N