Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dgerasimov@dgerasimov-mbp.dhcp.thefacebook.com ~ python3 20:07:00 ✔ 0
- Python 3.4.3 (default, Jul 3 2015, 01:28:31)
- [GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
- Type "help", "copyright", "credits" or "license" for more information.
- >>> dict = {'1':1, '2':2, '3':3, '4':4}
- >>> list(dict.items())
- [('2', 2), ('1', 1), ('3', 3), ('4', 4)]
- >>> list(dict.items())
- [('2', 2), ('1', 1), ('3', 3), ('4', 4)]
- >>>
- dgerasimov@dgerasimov-mbp.dhcp.thefacebook.com ~ python3 20:07:17 ✔ 0
- Python 3.4.3 (default, Jul 3 2015, 01:28:31)
- [GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
- Type "help", "copyright", "credits" or "license" for more information.
- >>> dict = {'1':1, '2':2, '3':3, '4':4}
- >>> list(dict.items())
- [('2', 2), ('3', 3), ('4', 4), ('1', 1)]
- >>> list(dict.items())
- [('2', 2), ('3', 3), ('4', 4), ('1', 1)]
- >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement