add solution for TaskC00
This commit is contained in:
parent
56dac5e1d9
commit
7c46eeac38
9
TaskC00_TODO/solution.py
Normal file
9
TaskC00_TODO/solution.py
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
import re
|
||||||
|
import sys
|
||||||
|
|
||||||
|
for line in sys.stdin:
|
||||||
|
line = line.strip()
|
||||||
|
if re.match(r'^-?[1-9][0-9]*0$|^-?[1-9][0-9]*5$|^0$', line):
|
||||||
|
print('yes')
|
||||||
|
else:
|
||||||
|
print('no')
|
Loading…
Reference in New Issue
Block a user