Result Size: 625 x 571
demo_regex_findall.py:
x
 
import re
#Return a list containing every occurrence of "ai":
txt = "The rain in Spain"
x = re.findall("ai", txt)
print(x)
C:\Users\My Name>python demo_regex_findall.py
['ai', 'ai']