[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fWE1FZDnAJG1MBQRF5MXQJqYmf4p70IAWQJWN8_DCG2o":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":32,"type":33},[],"2023-06-06 19:31:37",49727355,[8,9,10,11],"程序异常发生经过妥善处理可以继续执行","异常语句可以与 else 和 finally 保留字配合使用","Python 通过 try、except 等保留字提供异常处理功能","编程语言中的异常和错误是完全相同的概念",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},132,"65a0fa54b77d07ce6e89b2639e75e738","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F8ea661760b440b069e149471d0ae8dcf.jpg","计算机程序设计（Python）","work_28039084","练习3","关于程序的异常处理,以下选项中描述错误的是",[21,34,43,52,61,70,79,85,94,101],{"answer":22,"createTime":5,"id":23,"options":24,"question":31,"source":32,"type":33},[],49727346,[25,26,27,28,29,30],"int(var)","set('str')","(1)","{1,2,3,4,6}","","range(0, 10, 5)","下列 for 语句中,在 in 后使用不正确的是:( )for var in ( )","v1",0,{"answer":35,"createTime":5,"id":36,"options":37,"question":42,"source":32,"type":33},[],49727347,[38,39,40,41],"break","if","input","exit","以下可以终结整个循环的执行的语句是( )",{"answer":44,"createTime":5,"id":45,"options":46,"question":51,"source":32,"type":33},[],49727348,[47,48,49,50],"F5","F1","enter","ctrl+F5","在idle编程环境的文件式模式中,如果要运行程序文件可以以下哪个快捷键进行操作",{"answer":53,"createTime":5,"id":54,"options":55,"question":60,"source":32,"type":33},[],49727349,[56,57,58,59],"10","16","12","14","下列程序共输出_______个值:( )age = 23start = 2if age%2!=0: start=1 for x in range(start, age + 2, 2): print(x)",{"answer":62,"createTime":5,"id":63,"options":64,"question":69,"source":32,"type":33},[],49727350,[65,66,67,68],"Python中的for语句可以在任意序列上进行迭代访问,例如列表、字符串和元组","在Python中if&hellip;elif&hellip;elif&hellip;结构中必须包含else子句","在Python中没有switch-case的关键词,可以用if&hellip;elif&hellip;elif&hellip;来等价表达","循环可以嵌套使用,例如一个for语句中有另一个for语句,一个while语句中有一个for语句等","以下关于循环控制语句描述错误的是哪一项?( )",{"answer":71,"createTime":5,"id":72,"options":73,"question":78,"source":32,"type":33},[],49727351,[74,75,76,77],"提高程序的复用性","能够实现无限循环","如果不小心会出现死循环","必须提供循环的次数","下面不是while循环的特点的是()",{"answer":80,"createTime":5,"id":81,"options":82,"question":84,"source":32,"type":33},[],49727352,[39,38,41,83],"continue","以下可以终结整个循环的保留字是()",{"answer":86,"createTime":5,"id":87,"options":88,"question":93,"source":32,"type":33},[],49727353,[89,90,91,92],"randint(a,b)","random()","uniform(a,b)","seed(a)","下列random函数中,能够生成[0.0,1.0)之间的随机小数的是()",{"answer":95,"createTime":5,"id":96,"options":97,"question":100,"source":32,"type":33},[],49727354,[98,99],"正确","错误","是合法的",{"answer":102,"createTime":5,"id":6,"options":103,"question":19,"source":32,"type":33},[],[8,9,10,11]]