7 lines
195 B
Python
7 lines
195 B
Python
import re
|
|
|
|
with open("wiki.txt", "r") as f:
|
|
onomatopees = re.findall(r"''([\w\s]+)''", f.read(), flags=re.M)
|
|
onomatopees = [for o in onomatopees: o.lower()]
|
|
print(" ".join(onomatopees))
|