下列程序的输出结果为()countNum = 0countAlpha = 0for i in “python_3.6”:if (‘0’<=i<=’9’):countNum = countNum + 1elif (‘a’<=i<=’z’):countAlpha = countAlpha + 1else:print (countNum , countAlpha)
查看答案
max = 10sum = 0extra =0for num in range(1 , max):if num % 2 and not num % 3:sum += numelse:extra += 1print (sum,extra)
以下求10以内的所有奇数之和的值是_____.sum=0i=1whilei<10:ifi%2!=0:sum+=ii+=1print(sum)
测定细菌菌落总数时,培养温度是
A. (10±1)℃
B. (28±1)℃
C. (36±1)℃
D. (43±1)℃
测定食品中的细菌总数,下列方法中不能采用的是
A. 稀释混合平板法
B. 稀释涂布平板法
C. 平板划线法
D. 显微镜直接镜检计数法