摘要: # print (msg.capitalize())# print (msg.center(10,"*")) 以*分割 一共20字节 居中分割# print (msg.endswith('d'))# print (msg.count('d',0,11)) 统计字符有几个# print ('{1},{ 阅读全文
posted @ 2016-10-21 23:55 kai小男生 阅读(191) 评论(0) 推荐(0)
摘要: # -*- encoding: utf-8 -*-#for i in range(10): # for j in range(10): # if j < 6: # continue # print (i,j)# print (msg.capitalize())# print (msg.center( 阅读全文
posted @ 2016-10-16 19:35 kai小男生 阅读(279) 评论(0) 推荐(0)