lst = [2,5,2,1]
y = [1,1,1,1]
n = len(lst)
for i in range(①____):
for j in range(②____):
if ③____:
y[j] = y[j] + 1
else
y[i] = y[i] + 1
上述程序段3个划线处的表达式分别为( )
k = 3
cj,Sum = 0,0,0
for i in range(len(s)):
ch = s[i]
if '0' <= ch <= '9':
c = c * 10 + int(ch)
j += 1
else:
if j == k:
Sum += c
j,c = 0,0
字符串 s 为"wz500ai2024ok102"时,执行该程序段后,Sum 的值为( )
A. Y="不及格" if X>=60: Y="及格" elif X>80: Y="优秀" | B. if X<=80: Y="及格" elif X<60: Y="不及格" else: Y="优秀" | C. if 60<=X<=80: Y="及格" else: Y="优秀" if X<60: Y="不及格" | D. if X>=60: Y="及格" if X>80: Y="优秀" else: Y="不及格" |