View difference between Paste ID: VQs9GSzp and gbqM46sC
SHOW: | | - or go back to the newest paste.
1-
>>> reversed(a) == reversed(a)
1+
[ 9:38pm] Benjamin-MacOSX ओम् ~:
2
benjamin ⤃ python
3-
>>> reversed(a)
3+
Python 2.7.10 (default, Sep 27 2015, 11:59:10)
4-
<reversed object at 0x7f193ff61fd0>
4+
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.57.2)] on darwin
5-
>>> sorted(a)
5+
6
>>> a = 2,1,3
7-
>>> sorted(reversed(a))
7+
8
>>> sorted(b)
9
[1, 2, 3]
10
>>> sorted(b) == sorted(b)
11
True
12
>>>
13
[ 9:38pm] Benjamin-MacOSX ओम् ~:
14-
>>> 
14+
benjamin ⤃ python
15-
>>> a
15+
Python 2.7.10 (default, Sep 27 2015, 11:59:10)
16-
(2, 1, 3)
16+
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.57.2)] on darwin
17-
>>> 
17+
18-
ajd@hal:~$ 
18+
>>> a = 2,1,3
19-
ajd@hal:~$ python
19+
20-
Python 2.7.10 (default, Sep 13 2015, 20:30:50) 
20+
21-
[GCC 5.2.1 20150911] on linux2
21+
22
>>>
23-
>>> a = 2, 1, 3
23+
>>> b = rever