forked from miczar1/djfz-24_25
input fixed
This commit is contained in:
parent
956123d97e
commit
53e7341220
File diff suppressed because one or more lines are too long
10
TaskB03/task3.py
Normal file
10
TaskB03/task3.py
Normal 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
Loading…
Reference in New Issue
Block a user