Get your own Python server Result Size: 625 x 565
x
 
fruits = ["apple", "banana", "cherry", "kiwi", "mango"]
newlist = []
for x in fruits:
  if "a" in x:
    newlist.append(x)
print(newlist)
['apple', 'banana', 'mango']