下面代码的执行后,vlist的值是>>>vlist = list('python')
A: 'p';'y';'t';'h';'o';'n'
B: 'p','y','t','h','o','n'
C: ['p','y','t','h','o','n']
D: ['python']
A: 'p';'y';'t';'h';'o';'n'
B: 'p','y','t','h','o','n'
C: ['p','y','t','h','o','n']
D: ['python']
举一反三
- 执行以下代码输出结果的是a = 〃Python〃print(“:”.join(a)) A: P:y:t:h:o:n B: Python C: P:y:t:h:o:n: D: :Python
- 以下代码输出的结果是( )[img=514x159]17d60e53e5ad5e6.png[/img] A: p,y,t,h,o,N,C,R,E, B: p,y,t,h,o, C: p,y,t,h,o,N,C,R,E D: p,y,t,h,o
- 下列代码的计算结果是>>>s = "python language" >>>s.split() A: 'p','y','t','h','o','n','l','a','n','g','u','a','g','e' B: ['p','y','t','h','o','n','l','a','n','g','u','a','g','e'] C: 'python','language' D: ['python','language']
- 对于字符串的遍历,编写代码如下:[img=227x72]17da6f9eab02b3d.png[/img]经判断,其输出结果是( ) A: 出错 B: Python C: Python, D: P,y,t,h,o,n,
- 1 Complete the words ► p r e v e n t prevent 1 i n f _ _ _ i o n ____ 2 b _ n d _ g e ____ 3 t h _ r _ _ g h l _ ____ 4 w _ _ n d ____ 5 b l _ _ d ____ 6 s _ m p t _ m ____ 7 t _ _ p o r _ r _ l y ____ 8 d _ v _ l _ p ____