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

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