Skip to content

Numbers

Sorting

sorted('9182736450')
['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']

Infinity

infinity = float('inf')
neg_infinity = float('-inf')