# -*- coding:utf-8 -*- ''' for循环是有限循环,while循环是无限循环 for i in s: (i是变量,s是可迭代对象,可迭代对象指的是里面包含的元素众多) 循环体 ''' for i in 'jianghuyixiao': print(i)