字符串操作
1 a="good" 2 for item in a: 3 print(item)
1 # a="good" 2 # for item in a: 3 # print(item) 4 # v=range(100) 5 # print(v) 6 a=input(">>>>") 7 print(a) 8 l=len(a) 9 print(l)
# print(item) # v=range(100) # print(v) # a=input(">>>>") # print(a) # l=len(a) # print(l) a=input(">>>") for item in range(0,len(a)): print(item,a[item])