摘要: upper() 方法将字符串中的小写字母转为大写字母。 upper 英语鞋面,上面等等,用在python中是把字符串中的小写字母变成大写字母。 阅读全文
posted @ 2017-02-11 00:50 60tian 阅读(197) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/eny python #! -*- coding:utf-8 -*- """ import time a1 = True while a1: print('1') time.sleep(3) a1 = False print('end') """ #菜比的输出10内的整数。 #break 用于跳出循环。 """ a1 = True nub = 1 ... 阅读全文
posted @ 2017-02-10 01:47 60tian 阅读(196) 评论(0) 推荐(2) 编辑