[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fUliWDEEp6G7iwWIISK9glyinkma9AakopS2KHS22c64":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":30,"type":31},[],"2023-06-27 22:41:19",86326155,[8,9,10,11],"if(gender == &quot;男&quot; or age &lt; 40 and rank == &quot;教授&quot;): n += 1","if(gender == &quot;男&quot; and age &lt; 40 and rank == &quot;教授&quot;): n += 1","if(gender == &quot;男&quot; and age &lt; 40 or rank == &quot;教授&quot;): n += 1","if(gender == &quot;男&quot; or age &lt; 40 or rank == &quot;教授&quot;): n += 1",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},10,"42ed9f7c0dcd38f59215ab2c522fbc1d","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F0d27132e8e4c25614916fe2373258c2e.jpg","Python程序设计","work_27398401","程序流程控制","下面的if语句统计满足&quot;性别(gender)为男、职称(rank)为教授、年龄(age)小于40岁&quot;",[21,32,41,50,59,68,71,80,89,98],{"answer":22,"createTime":5,"id":23,"options":24,"question":29,"source":30,"type":31},[],86326150,[25,26,27,28],"for i in range(3): print(i)","for i in range(2): print(i + 1)","nums = [0, 1, 2] for i in nums: print(i + 1)","i = 1 while i &lt; 3: print(i) i = i + 1","下列选项中,运行后会输出1、2、3的是( )","v1",0,{"answer":33,"createTime":5,"id":34,"options":35,"question":40,"source":30,"type":31},[],86326151,[36,37,38,39],"5050","450","4950","45","现有如下代码: sum = 0 for i in range(100): if(i % 10): continue sum = sum + i print(sum) 若运行代码,输出的结果为( )",{"answer":42,"createTime":5,"id":43,"options":44,"question":49,"source":30,"type":31},[],86326152,[45,46,47,48],"10,20,30","20,10,10","10,20,20","20,10,30","已知x=10,y=20,z=30;以下代码执行后x、y、z的值分别为( ). if x &lt; y: z = x x = y y = z",{"answer":51,"createTime":5,"id":52,"options":53,"question":58,"source":30,"type":31},[],86326153,[54,55,56,57],"y = x + 1 if x &gt;= 0: if x == 0: y = x else: y = x - 1","y = x - 1 if x! = 0: if x &gt; 0: y = x + 1 else: y = x","y = x if x &lt;= 0: if x &lt; 0: y = x - 1 else: y = x + 1","if x &lt;= 0: if x &lt; 0: y = x - 1 else: y = x else: y = x + 1","已知x与y的关系如表所示: x与y的关系 x y x&lt;0 x-1 x=0 x x&gt;0 x+1 以下选项中,可以正确地表达x与y之间关系的是( )",{"answer":60,"createTime":5,"id":61,"options":62,"question":67,"source":30,"type":31},[],86326154,[63,64,65,66],"continue","break","if","while","下列语句中,可以跳出循环结构的是( )",{"answer":69,"createTime":5,"id":6,"options":70,"question":19,"source":30,"type":31},[],[8,9,10,11],{"answer":72,"createTime":5,"id":73,"options":74,"question":79,"source":30,"type":31},[],86326156,[75,76,77,78],"for i in range(10,0):total += i","for i in range(1,11):total += i","for i in range(10,0,-1):total += i","for i in (10,9,8,7,6,5,4,3,2,1):total += i","在以下for语句结构中,( )不能完成1~10的累加功能",{"answer":81,"createTime":5,"id":82,"options":83,"question":88,"source":30,"type":31},[],86326157,[84,85,86,87],"maxnum = x if x&gt;y else y","maxnum = math.max(x,y)","if (x&gt;y): maxnum = x else: maxnum = y","if y&gt;x: maxnum = y maxnum = x","下面的程序段求x和y两个数中的大数,( )是不正确的",{"answer":90,"createTime":5,"id":91,"options":92,"question":97,"source":30,"type":31},[],86326158,[93,94,95,96],"输出1","输出True","输出False","编译错误","执行下列Python语句将产生的结果是( ). i = 1if (i): print(True)else: print(False)",{"answer":99,"createTime":5,"id":100,"options":101,"question":106,"source":30,"type":31},[],86326159,[102,103,104,105],"if ( gender == &quot;男&quot; and score &lt; 60 or score &gt;= 90): n += 1","if ( gender == &quot;男&quot; and score &lt; 60 and score &gt;= 90): n += 1","if(gender == &quot;男&quot; and (score &lt; 60 or score &gt;= 90)): n += 1","if(gender == &quot;男&quot; or score &lt; 60 or score &gt;= 90): n += 1","下面的if语句统计&quot;成绩(score)优秀的男生以及不及格的男生&quot;的人数,正确的语句是( )"]