If you're using Python 2.x, then that's easily achievable by using cmp , although you have to modify your function to return -1 instead of 0 ...
確定! 回上一頁