{{papers_name}}答案解析,请在关注本站。
">
陕西省2024年普通高中学业水平合格性考试模拟试题(二)2通用技术答案,目前双语学习报答案网已经汇总了陕西省2024年普通高中学业水平合格性考试模拟试题(二)2通用技术答案的各科答案和试卷,获取更多{{papers_name}}答案解析,请在关注本站。
10.有如下Python程序段:def fun(x):X+=3return xX=3print (fun (x),x)执行该程序段后,输出的结果是A.33B.63C.66D.报错11.有如下Python程序段:sum=0;j=0;c=0s ='ab300cde2022fg002h'for ch in s:if ch >='0'and ch <='9':c =c 10 int(ch)j=j+1else:ifj%2=1:sum sum celse:sum sum -cc=0执行该程序段后,sum的值为A.-1720B.1720C.2320D.-232012.有如下Python程序段:import randomn=8a [random.randint(0,9)for i in range(n)]for t in range(2):i=t+1while i n-1:ift%2=0:if a[i-1]a[i]and a[i]a[i+1]:i+=2else:a[i]+random.randint(0,9)else:if a[i-1]a[i]and a[i]a[i+1]:i+=2else:a[i]-=random.randint(0,9)运行后,数组a中的值可能是A.[8,8,3,5,4,7,3,5]B.[5,11,10,18,8,9,0,2]C.[1,2,1,4,0,10,-1,7]D.[7,12,5,17,9,19,-10,8]高二技术试题卷第3页共6页
2023-09-15 17:44:53
2023-10-05 00:27:25
2023-09-15 18:55:15
2023-10-01 00:57:09
2023-09-15 17:36:52