摘要:
li=[[1,2,3,4,5],[1,2,3,4,5],[1,2,3,4,5],[1,2,3,4,5],[1,2,3,4,5]]s=0for i in range(0,5): for j in range(0,5): print li[i][j], print ""print "+++++++++... 阅读全文
摘要:
字符串函数:chr() 数字转ASCII chr(96)="a"ord() ASCII转数字 ord("a")=96isspace() 判断是否为空格 s="abcde" s.isspace() 返回true or falsefind() 返回字符串的索引,查不到返回-1. s="abcde" s.... 阅读全文