Bai1

 avatar
huuductu
python
2 years ago
214 B
2
Indexable
import re

fileName = input()
with open(fileName, 'rb') as file:
    for line in file:
        t = re.match("^[tc].*re+.*",line.decode('utf-8'))
        if t:
            print(line.decode('utf-8'), end=" ")