试题 试卷
题型:综合题 题类: 难易度:困难
浙江省嘉兴市海盐县2023-2024学年高二上学期信息技术10月阶段测试卷
s=input("请输入一串整数,以逗号间隔开来:")
t=""
sum=0
for i in ① :
if i!=", ":
②
else:
sum=sum+int(t)
print("该数据序列的和为:",sum)
① ②
Private Sub Command1_Click()
Dim a As Integer
a = Int(6 * Rnd + 1) * Int(6 * Rnd - 1)
Print a
End Sub
count = 0
For i = 1 To 20
a(i) = Int(Rnd ∗ 100) + 1
Next i
For i = 1 To 100
If b(i) <> 0 Then count = count + 1
Label1.Caption= "不重复数字个数" + Str(count)
为实现上述功能,则程序①处应填入的语句为( )
试题篮