Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # dict_pitfall.py
- print ({0: "zero", False: "N", 1: "one", True: "Y"})
- print ({False: "N", 0: "zero", True: "Y", 1: "one"})
- print ({1: "integer", 1.0: "float"})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement