Advertisement
Guest User

Untitled

a guest
Apr 21st, 2015
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. frog=["green","red","blue"]
  2. bull=[]
  3. for abc in frog:
  4. if "d" in abc:
  5. bull.append(abc)
  6.  
  7.  
  8. print(frog)
  9. print(bull)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement