Python之for循环
1. for循环语句for语句的基本形式为:for iteration_var in sequence: 循环语句依次遍历序列中的成员,执行循环语句。例如:list = ['python','java','c','c++'] for book in list: print("当前书籍为:",book) 2.continue语句continue语句的基本形式为:for iteration_var in sequence: 循环语句 if 判断