下面代码的输出结果是for num in range(2,10):if num > 1:for i in range(2,num):if (num % i) == 0:breakelse:print(num, end=",")
A. 4,6,8,9
B. 2,4,6,8,10
C. 2,4,6,8
D. 3,5,5,5,7,7,7,7,7,9,
下面代码的输出结果是()。a = 2.0b = 1.0s = 0for n in range(1,4):s += a / bt = aa = a + bb = tprint(round(s,2))
A. 5.17
B. 8.39
C. 3.5
D. 6.77
下面代码的输出结果是()。for n in range(100,200):i = n // 100j = n // 10 % 10k = n % 10if n == i ** 3 + j ** 3 + k ** 3:print(n)
A. 159
B. 157
C. 153
D. 152