Run ❯
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
fruits = ["apple", "banana", "cherry", "kiwi", "mango"] newlist = [x for x in fruits if "a" in x] print(newlist)
['apple', 'banana', 'mango']