0
Phone number validation in sololearn .my code in description , please solve the code ,why i am getting an error
import re #your code goes here num=(input()) regex=r"^1|8|9 \d{8}
quot; if re.search(regex,num): print ("Valid") else: print ("Invalid")1 Réponse
+ 1
Have a look at this
https://code.sololearn.com/cE7yU07CksL7/?ref=app