l=[1, 0, 2, 0, 'hello', '', []] list(filter(bool, l))
Not registered? Create an account
Forgot Password?
Already a registered user? Login