Open ryap14 opened 8 months ago
import re words_list = ['ramen', 'rAmen', 'aery', 'ear', 'ball', 'cat', 'café']
for x in words_list: if re.search('a' and 'e' , x): list = [x] lowercase = [x for x in list if x.islower()] newlist = lowercase print(*newlist, sep = '', end=" ") else: exit()
list of python codes created.