摘要: 1,cmp函数比较两个对象,如果小于返回负整数,大于的话返回正整数,相等返回0. Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->>>> a,b = 1,-1 >>> cmp(a,b) 1 >>> cmp(b,a) -1 >>> a=-1... 阅读全文
posted @ 2009-04-28 11:28 ________囧丶殇 阅读(255) 评论(0) 推荐(0) 编辑