Advertisement
Dprogrammed1

python que 11

Jun 10th, 2019
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.05 KB | None | 0 0
  1. l=[1, 0, 2, 0, 'hello', '', []]
  2. list(filter(bool, l))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement