下面代码的输出结果是 vlist = list(range(5)) for e in vlist: print(e,end=",")
举一反三
- 下面代码的输出结果是vlist = list(range(5))for e in vlist: print(e,end=",") A: 0 1 2 3 4 B: 0,1,2,3,4, C: [0, 1, 2, 3, 4] D: 0;1;2;3;4;
- vlist = list(range(5))for e in vlist:print(e,end=",")上面代码的输出结果是( ) A: 0;1;2;3;4; B: 0 1 2 3 4 C: 0,1,2,3,4, D: [0, 1, 2, 3, 4]
- 下面代码的输出结果是() vlist = list(range(5)) print() A: [0, 1, 2, 3, 4] B: 0;1;2;3;4; C: 0,1,2,3,4, D: 0 1 2 3 4
- 读代码,填空:(1)代码:vlist = list(range(5))vlist[3]="python"执行后,vlist的值是____________。(2)代码:print((16+14)/2) 执行后,输出____________。(3)代码: s="5+2"x=eval(s)print(x)执行后,输出____________。(4)若n=123,表达式str(n)*3 值=
- 下面代码的输出结果是。 ls= list(range(1,4)) print(ls)