input fixed

This commit is contained in:
Robert 2024-11-25 12:35:44 +01:00
parent 956123d97e
commit 53e7341220
3 changed files with 100010 additions and 2 deletions

File diff suppressed because one or more lines are too long

10
TaskB03/task3.py Normal file
View File

@ -0,0 +1,10 @@
import re
with open('simple.in', encoding='utf8') as file:
lines = file.readlines()
pattern = r'19\d\d r\.'
for line in lines:
line = line.strip()
x = re.search(pattern, line)
if x:
print(line)

File diff suppressed because one or more lines are too long