#for案例
str1 = 'abcde'
for s in str1:
print(s,end=' ')
print()
list1= ['张三','李四',5,'赵六']
for s in list1:
print(s, end=',')
print(type(s),end=';')
print()
list1= ['张三','李四',5,'赵六']
for s in list1:
if type(s) is str:
for a in s:
print(a,end=',')
else:
print(s,end=',')
print()