3 Answers
0
Hmm ok inbox me, maybe I can be a help of you.
0
Please show us your attempt. We might be able to tell you the mistakes.
0
I have solved the question
import re
#your code goes here
pattern = "[7,8,9][0-9]{7}"
no = input()
if re.match(pattern,no):
print("Valid")
else :
print("Invalid")