基本信息
文件名称:2026年计算机二级《Python》真题解析.docx
文件大小:14.71 KB
总页数:11 页
更新时间:2026-03-26
总字数:约5.32千字
文档摘要

2026年计算机二级《Python》真题解析

姓名:_____?准考证号:_____?得分:__________

2026年计算机二级《Python》真题解析

一、选择题(每题2分,总共10题)

1.在Python中,以下哪个语句是正确的?

A.if(x5):print(xisgreaterthan5)

B.ifx5:print(xisgreaterthan5)

C.ifx5:print(xisgreaterthan5)

D.ifx5thenprint(xisgreaterthan5)

2.下列哪个不是Pyt