Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

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')
Comment

PREVIOUS NEXT
Code Example
Python :: django how to create superuser if does not exists on migration 
Python :: gensim wordvector vocabulary list 
Python :: voilion plot 
Python :: python making player inventory 
Python :: what does // mean in python 
Python :: DiscordUtils 
Python :: python how to dump exception stak 
Python :: pandas mean and sum 
Python :: granges to string peak 
Python :: delete history django simple 
Python :: mod trong python 
Python :: pyqt line edit mouse position change 
Python :: eager tensor to numpy 
Python :: 1038 solution python 
Python :: check internet speed using python 
Python :: ‘A’, ‘Q’, ‘BM’, ‘BA’, ‘BQ’ meaning in resample 
Python :: for j in range python 
Python :: django create superuser with first_name 
Python :: load python 
Python :: python requests-session for websites wihout login 
Python :: sort a tensor pytorch 
Python :: How to add an item from another set or other data structures (lists, dictionaries, and tuples) to a set by using the update() method. 
Python :: Print 10 most important features ascending 
Python :: python module equal override 
Python :: python Prefix Sum of Matrix (Or 2D Array) 
Python :: How to join or combine multiple csv files with concatenate and export dataframe to csv format 
Python :: ssd 1306 esp32 python 
Python :: Set Date In Python 
Python :: how i make viribal inside a string in python 
Python :: python recognize lower and upper case user input 
ADD CONTENT
Topic
Content
Source link
Name
1+4 =