Bai1
huuductu
python
3 years ago
214 B
4
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=" ")
Editor is loading...
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=" ")