更多python基础知识试题
- 1给出如下代码: (D)ict(C)olor = {"seashell":"海贝色","gold":"金色","pink":"粉红色","brown":"棕色","purple":"紫色","tomato":"西红柿色"} 以下选项中能输出“海贝色”的是( )
- 2以下选项中,不是具体的Python序列类型的是( )
- 3下面代码的输出结果是()def hello_world(): print(ST,end="*")def three_hellos(): for i in range(3): hello_world()three_hellos()
- 4下面代码的输出结果是()def func(a,b): return a>>bs = func(5,2)print(s)
- 5关于CSV文件的描述,以下选项中错误的是( )