Where was I wrong?
import re
def check_num(input):
pattern = re.compile(r"\bd{3}\d{3}-\d{4}\b")
match = pattern.search(input)
if match:
return print(match.group)
return print("None")
print(check_num("my number is 817 994-8667"))
compiler doesnt return anything what should i do now??