Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- f=lambda x: True if x % 2 == 0 else pass
- f=lambda x: True if x % 2 == 0
- f = lambda x: x % 2 == 0
- >>> f=lambda x: x % 2 == 0
- >>> f(2)
- True
- >>> f(3)
- False
- >>>
- >>> f=lambda x: x % 2 == 0 or None
- >>> f(2)
- True
- >>> f(3)
- >>>
Add Comment
Please, Sign In to add comment