Python HackerRank 문제 65 - Validating phone numbers Validating phone numbers 풀이 import re pattern = re.compile(r'^([789]\d{9})$') for i in range(int(input())): s = input() m = pattern.search(s) if m: print('YES') else: print('NO') * 출처 Validating phone numbers | HackerRank Check whether the given phone number is valid or not. www.hackerrank.com...
Python HackerRank 문제 65 - Validating phone numbers에 대한 요약내용입니다.
자세한 내용은 아래에 원문링크를 확인해주시기 바랍니다.
#HackerRank_Validatingphonenumbers
#Python
#Python_HackerRank
#Python_HackerRank_Validatingphonenumbers
#Python_Validatingphonenumbers
원문링크 : Python HackerRank 문제 65 - Validating phone numbers