Answers for "phone no validate"

0

phone no validate

# Enter your code here. Read input from STDIN. Print output to STDOUT
import re
for _ in range(int(input())):
    if re.match(r'[789]\d{9}$',input()):   
        print('YES')  
    else:  
        print('NO')
Posted by: Guest on June-24-2021

Python Answers by Framework

Browse Popular Code Answers by Language