运行下列代码,输出结果是()I=[i if i%2==0 else i*10 for i in range (5)] print(1)
A[0,10,2,30,4]
B[10,2,30,4]
C[0,10,2,30,4,50]
D[0,1,20,3,40]
相关试题
-
运行下列代码,输出结果是()I=[i if i%2==0 else i*10 for i in range (5)] print(1)
-
以下代码输出的结果是()for i in range(1,6):if i%4==0:continueelse:print(i,end=”,”)
-
下面代码的输出结果是: for s in HelloWorld: if s==W: continue print(s,end=)
-
面代码的输出结果是( )for s in Hello,World: if s=,: break print(s,end=) A.WorldBHelloWorldC.Hel
-
下列表达式中[print(x,y,100-x-y)for x in range(21)for y in range(34)if(100-x-y)%3==0 and 5*x+3*y+(100-x-y)