D下面描述错误的是?=True,b==True,b==True,b=&&b为FalseD下面描述错误的是?&&,要写作andB.&&&3的结果为0C下列表达式的值为True的是?ATrue>2B3>2>2C('3','2')<('33','22')D'abc'>'xyz'-5表示以下哪个数字?(追加)模式打开文件做写入操作?A:("f","r")B:("f","w")C:("f","a")D:("f","w+")C下列不属于浮点数类型的是?.--5DPython的序列类型不包括下列哪一种?A字符串B列表C元组D字典A以下程序输出什么?"""x=1"""whilex:print(x):name'x'#x=1whilex:print(x):print(x)Bpython单行注释和多行注释分别是什么?A.""""""和''''''B.#和""""""C.//和''''''D.#和//C表达式3**、charB、intC、floatD、,通过fromsysimportargv如何获得v2的参数值?[0][1][2][3]Da=round(),则a的值为()A:4B:::3Ca=round(),则a的值为()A::3C:4D:()输出值为?()输出值为?()("helloworld");("helloworld")("helloworld");("helloworld")D下面程序输出的值为()(-3)A.-.-()?-scoreD使用下列哪种关键字来创建Python自定义函数??a=10defsetNumber():a=100setNumber()print(a)?a=10defsetNumber():globalaa=100setNumber()print(a)?A..pyB....dllD..exeB布尔型变量的值分别是?(2,pow(3,2))的运行结果为??={'a':{'b':[2,3]},'c':[4,5]}['a']['b'][0]['a']['b'][1]['a']['b'][2]['a']['b']B若vehicle=['train','bus','car','ship'],则vehicle[1]是什么?=['train','bus','car','ship'],则vehic
Python期末试题题库 来自淘豆网m.daumloan.com转载请标明出处.