dfgf
This commit is contained in:
parent
578b11af9c
commit
ea189d6428
0
TaskD04/Makefile
Normal file
0
TaskD04/Makefile
Normal file
12
TaskD04/run
Executable file
12
TaskD04/run
Executable file
@ -0,0 +1,12 @@
|
||||
#!/usr/bin/python3
|
||||
|
||||
import sys
|
||||
import re
|
||||
|
||||
for input in sys.stdin.readlines():
|
||||
answer = re.sub('(([\D]*[\d]+[\D]+)[\d]+(.*$))', '\\2\\3',input)
|
||||
if answer:
|
||||
print(answer[:-1])
|
||||
else:
|
||||
print(input[:-1])
|
||||
|
Loading…
Reference in New Issue
Block a user