sorted.py 93 Bytes
Newer Older
John R. Lenton's avatar
sorted    
John R. Lenton committed
1
2
print(sorted(set(range(100))))
print(sorted(set(range(100)), key=lambda x: x + 100*(x % 2)))