Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def purify (lists) :
- new = []
- for item in lists :
- if item % 2 == 0 :
- new.append(item)
- return new
- purify ([1,2,3])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement