Bai1
huuductu
python
a year ago
214 B
1
Indexable
Never
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=" ")
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=" ")