attempt 1
This commit is contained in:
parent
09c5301917
commit
59b10f7a53
0
TaskB04/Makefile
Normal file
0
TaskB04/Makefile
Normal file
9
TaskB04/run
Normal file
9
TaskB04/run
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/usr/bin/python3
|
||||||
|
|
||||||
|
import sys
|
||||||
|
import re
|
||||||
|
|
||||||
|
for line in sys.stdin:
|
||||||
|
substrings = re.findall(r'\d+',line)
|
||||||
|
if len(substrings) > 0:
|
||||||
|
print(' '.join(substrings))
|
Loading…
Reference in New Issue
Block a user