djfz-2020-s444344/TaskC32/run
Zofia Bączyk 8c98bdd24c atempt 1
2020-11-22 16:27:55 +01:00

10 lines
153 B
Python

#!/usr/bin/python3
import sys
import re
for line in sys.stdin:
if re.match(r'^(\$[1-9]+[0-9]*)$',line):
print("yes")
else: print("no")