Guest User

Untitled

a guest
Oct 11th, 2015
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [ 9:38pm] Benjamin-MacOSX ओम् ~:
  2. benjamin ⤃ python
  3. Python 2.7.10 (default, Sep 27 2015, 11:59:10)
  4. [GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.57.2)] on darwin
  5. Type "help", "copyright", "credits" or "license" for more information.
  6. >>> a = 2,1,3
  7. >>> b = reversed(a)
  8. >>> sorted(b)
  9. [1, 2, 3]
  10. >>> sorted(b) == sorted(b)
  11. True
  12. >>>
  13. [ 9:38pm] Benjamin-MacOSX ओम् ~:
  14. benjamin ⤃ python
  15. Python 2.7.10 (default, Sep 27 2015, 11:59:10)
  16. [GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.57.2)] on darwin
  17. Type "help", "copyright", "credits" or "license" for more information.
  18. >>> a = 2,1,3
  19. >>> b = reversed(a)
  20. >>> sorted(b) == sorted(b)
  21. False
  22. >>>
  23. >>> b = rever
Advertisement
Add Comment
Please, Sign In to add comment