资料(完整版)Python题库.pdf
文库****品店
亲,该文档总共12页,到这已经超出免费预览范围,如果喜欢就直接下载吧~
相关资料
资料(完整版)Python题库.pdf
资料(完整版)Python题库一、选择题1.如下Python程序段x=2print(x+1)print(x+2)运行后,变量x的值是()A.2B.3C.5D.2.下列Python程序段运行的结果是()x=0foriinrange(1,20,3):x=x+iprint(x)A.80B.190C.70D.2103.下面Python代码运行后,a、b的值为()a=23b=int(a/10)a=(a-b*10)*10b=a+bprint(a,b)A.232B.3020C.3032D.324.在Python中,表达
资料(完整版)Python题库.pdf
资料(完整版)Python题库一、选择题1.如下Python程序段x=2print(x+1)print(x+2)运行后,变量x的值是()A.2B.3C.5D.2.下列Python程序段运行的结果是()x=0foriinrange(1,20,3):x=x+iprint(x)A.80B.190C.70D.2103.下面Python代码运行后,a、b的值为()a=23b=int(a/10)a=(a-b*10)*10b=a+bprint(a,b)A.232B.3020C.3032D.324.在Python中,表达
资料(完整版)Python题库.pdf
资料(完整版)Python题库一、选择题1.如下Python程序段x=2print(x+1)print(x+2)运行后,变量x的值是()A.2B.3C.5D.2.下列Python程序段运行的结果是()x=0foriinrange(1,20,3):x=x+iprint(x)A.80B.190C.70D.2103.下面Python代码运行后,a、b的值为()a=23b=int(a/10)a=(a-b*10)*10b=a+bprint(a,b)A.232B.3020C.3032D.324.在Python中,表达
资料python.doc
资料python一、选择题1.下面的Python程序段运行后的输出结果是()x=3ifx%2==0:print(x,"是偶数。")else:print(x,"是奇数。")A.3是奇数B.x,"是偶数"C.x,"是奇数"D.3是偶数2.python单行注释和多行注释分别是什么?()A.""""""和''''''B.#和""""""C.//和''''''D.#和//3.下面代码执行完毕后,a和b的值分别为()a=la=l;b=2b=2;a=ba=b;VB、Python代码JAVA代码A.1和2B.1和1C.2
资料(完整版)python考试复习题库.pdf