Last active

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View gist:9974860
1 2 3 4 5 6 7 8 9 10 11 12 13
>>> spam = ['first', 'second', 'last']
>>> spam
['first', 'second', 'last']
>>> spam.sort()
>>> spam
['first', 'last', 'second']
>>> spam.append(1)
>>> spam
['first', 'last', 'second', 1]
>>> spam.sort()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unorderable types: int() < str()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.