djfz-2020-s444344/TaskD04/run
Zofia Bączyk 9162fde06c atempt 1
2020-12-06 18:28:34 +01:00

9 lines
154 B
Python

#!/usr/bin/python3
import sys
import re
for line in sys.stdin.readlines():
print(re.sub('(([\D]*[\d]+[\D]+)[\d]+(.*$))', '\\2\\3',line).strip('\n'))