方法1: s= 'asdfer' for i in s : print(i) 方法2: index =0 while 1: print(s[index]) index+=1 if index ==len(s):break
posted on 2019-01-16 10:52 没有岁月可回头 阅读(644) 评论(0) 编辑 收藏 举报