attempt 1

This commit is contained in:
Zofia Bączyk 2020-11-22 14:08:47 +01:00
parent 09c5301917
commit 59b10f7a53
2 changed files with 9 additions and 0 deletions

0
TaskB04/Makefile Normal file
View File

9
TaskB04/run Normal file
View 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))