PY
py
1
2
3
4
5
6
7
8
9
10
11
# Created by RockStar
import re
#your code goes here
pattern = r"^189......."
string = input()
if re.match(pattern, string):
print("Valid")
else:
print("Invalid")
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run