2023年3月Python编程等级考试试卷(四级)-不带答案 .pdfVIP

  • 13
  • 0
  • 约1.12万字
  • 约 9页
  • 2024-10-16 发布于中国
  • 举报

2023年3月Python编程等级考试试卷(四级)-不带答案 .pdf

2023年3月Python编程等级考试试卷(四级)-不带答案--第1页

2023年3月Python编程等级考试试卷(四级)

一、单选题(共25题,共50分)

1.运行下列程序,输出的结果是?()

defwenhao(name=zhejiang):

print(hello+name)

wenhao()

A.hello

B.hellozhejiang

C.helloname

D.程序将提示运行错误

2.运行下列程序,输出的结果是?()

rst=lambdaa,b=5:a*b

print(rst(5))

A.5

B.15

C.25

D.35

3.运行下列程序,输出的结果是?()

defjsarea(r,PI=3.14):

area=PI*r*r

print(jsarea(1))

A.3.14

B.因缺失参数,不能计算

C.None

文档评论(0)

1亿VIP精品文档

相关文档