[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fNHRkUwnbLzNrEGsQtjaYOnhi3BpJ9MotQ7KlW-SLdU0":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":24,"type":25},[],"2024-11-03 00:55:01",164247252,[8,9,10,11],"9","10","11","12",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},6,"a70604c8b277f483f3fddbf39ae86721","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F55fbcd3ffd135d5d208c3764b4259ff0.png","Python程序设计与高级应用","67a6d721b2aa41be940f6bb46889e993","程序结构练习","for i in range(10):print(i)该程序段中,i的循环终值是",[21,26,33,42,51,60],{"answer":22,"createTime":5,"id":6,"options":23,"question":19,"source":24,"type":25},[],[8,9,10,11],"v1",0,{"answer":27,"createTime":5,"id":28,"options":29,"question":32,"source":24,"type":25},[],164247253,[30,30,31,31],"5,5,5","5 5 5","for i in range(3): print(5, end=',')程序段输出的结果是",{"answer":34,"createTime":5,"id":35,"options":36,"question":41,"source":24,"type":25},[],164247254,[37,38,39,40],"遍历循环使用for &lt;循环变量&gt; in &lt;循环结构&gt;语句,其中循环结构不能是文件","使用range()函数可以指定for循环的次数","for i in range(5)表示循环5次,i的值是从0到4","用字符串做循环结构的时候,循环的次数是字符串的长度","以下关于循环结构的描述,错误的是",{"answer":43,"createTime":5,"id":44,"options":45,"question":50,"source":24,"type":25},[],164247255,[46,47,48,49],"50","45","40","36","下面程序中语句print(i*j)共执行了_次for i in range(10): for j in range(1, 5): print(i*j)",{"answer":52,"createTime":5,"id":53,"options":54,"question":59,"source":24,"type":25},[],164247256,[55,56,57,58],"退出循环结构","结束本次循环","和break作用相同","引发异常处理","continue语句用于",{"answer":61,"createTime":5,"id":62,"options":63,"question":68,"source":24,"type":25},[],164247257,[64,65,66,67],"max = x if x &gt; y else y","max = x &gt; y ? x : y","if x &gt; y: max=x","if (x&gt;y): x, y = y, x","下列选项中,能求出x和y中最大值,并赋值给max的是"]