Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- frog=["green","red","blue"]
- bull=[]
- for abc in frog:
- if "d" in abc:
- bull.append(abc)
- print(frog)
- print(bull)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement