Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Python 2.7.3 (default, Mar 13 2014, 11:03:55)
- [GCC 4.7.2] on linux2
- Type "help", "copyright", "credits" or "license" for more information.
- >>> st = set(['apple', 'orange', 'apple', 'pear', 'orange', 'banana'])
- >>> lst = [1, 2, 3, "4"]
- >>> tpl = (1, 2, 3, '4')
- >>> dct = {'one': 1, 'two': 2, 'three': 3};
- >>> st.__repr__
- <method-wrapper '__repr__' of set object at 0x7f6b38e2dd00>
- >>> tpl.__repr__
- <method-wrapper '__repr__' of tuple object at 0x7f6b38e387e0>
- >>> lst.__repr__
- <method-wrapper '__repr__' of list object at 0x7f6b38de2b48>
- >>> dct.__repr__
- <method-wrapper '__repr__' of dict object at 0x1c36400>
- >>>
Advertisement
Add Comment
Please, Sign In to add comment