TaskX03 completed
This commit is contained in:
parent
bd18802057
commit
71f4363916
2
TaskX03/run
Normal file
2
TaskX03/run
Normal file
@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
python2 TaskX03/run.py "$@"
|
8
TaskX03/run.py
Normal file
8
TaskX03/run.py
Normal file
@ -0,0 +1,8 @@
|
||||
import sys
|
||||
import re
|
||||
|
||||
pattern = '[A-Za-z]+'
|
||||
|
||||
for line in sys.stdin:
|
||||
match = re.match(pattern, line).group(0)
|
||||
print str(len(match))+" "+match
|
Loading…
Reference in New Issue
Block a user