Paste Search Dynamic
Recent pastes
fruits newlist
  1. fruits = ["apple", "banana", "cherry", "kiwi", "mango"]
  2.  
  3. newlist = [x for x in fruits if "a" in x]
  4.  
  5. print(newlist)
Parsed in 0.002 seconds