TaksA07
This commit is contained in:
parent
71f4363916
commit
b56701529a
2
TaskA07/run
Normal file
2
TaskA07/run
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
python run.py "$@"
|
10
TaskA07/run.py
Normal file
10
TaskA07/run.py
Normal 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')
|
Loading…
Reference in New Issue
Block a user