sStr1 = 'strch'
sStr2 = 'strchr'
print cmp(sStr1,sStr2)##-1

posted on 2018-12-04 10:59  巨象  阅读(277)  评论(0)    收藏  举报