You are viewing a single comment's thread. Return to all comments →
import re n=int(input()) for _ in range (n): l=re.split(r"-|\s",input()) print(f"CountryCode={l[0]},LocalAreaCode={l[1]},Number={l[2]}")
Seems like cookies are disabled on this browser, please enable them to open this website
Split the Phone Numbers
You are viewing a single comment's thread. Return to all comments →