Advertisement
karlicoss

mkay..

Aug 31st, 2015
473
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.09 KB | None | 0 0
  1. dgerasimov@dgerasimov-mbp.dhcp.thefacebook.com~  python3                                                                                                       20:07:00  ✔ 0
  2. Python 3.4.3 (default, Jul  3 2015, 01:28:31)
  3. [GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
  4. Type "help", "copyright", "credits" or "license" for more information.
  5. >>> dict = {'1':1, '2':2, '3':3, '4':4}
  6. >>> list(dict.items())
  7. [('2', 2), ('1', 1), ('3', 3), ('4', 4)]
  8. >>> list(dict.items())
  9. [('2', 2), ('1', 1), ('3', 3), ('4', 4)]
  10. >>>
  11.  
  12.  dgerasimov@dgerasimov-mbp.dhcp.thefacebook.com~  python3                                                                                                       20:07:17  ✔ 0
  13. Python 3.4.3 (default, Jul  3 2015, 01:28:31)
  14. [GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
  15. Type "help", "copyright", "credits" or "license" for more information.
  16. >>> dict = {'1':1, '2':2, '3':3, '4':4}
  17. >>> list(dict.items())
  18. [('2', 2), ('3', 3), ('4', 4), ('1', 1)]
  19. >>> list(dict.items())
  20. [('2', 2), ('3', 3), ('4', 4), ('1', 1)]
  21. >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement