comprehension list

Run Settings
LanguagePython
Language Version
Run Command
fruits = ["apple", "banana", "cherry", "kiwi", "mango"] newlist = [x for x in fruits if "a" in x] print(newlist)
Editor Settings
Theme
Key bindings
Full width
Lines