This commit is contained in:
Eryk Miszczuk 2019-11-05 11:02:47 +01:00
parent 71f4363916
commit b56701529a
2 changed files with 12 additions and 0 deletions

2
TaskA07/run Normal file
View File

@ -0,0 +1,2 @@
#!/bin/bash
python run.py "$@"

10
TaskA07/run.py Normal file
View File

@ -0,0 +1,10 @@
import sys
import re
regex = re.compile('(^[\*]+$)')
for line in sys.stdin:
if regex.match(line.replace('\n', '')):
print('yes')
else:
print('no')