phone no validate

Solutions on MaxInterview for phone no validate by the best coders in the world

showing results for - "phone no validate"
Glenn
31 Nov 2019
1# Enter your code here. Read input from STDIN. Print output to STDOUT
2import re
3for _ in range(int(input())):
4    if re.match(r'[789]\d{9}$',input()):   
5        print('YES')  
6    else:  
7        print('NO')
queries leading to this page
phone no validationphone no validate