基本信息
文件名称:2025年4月Python高中暑期练习题库7.docx
文件大小:16.03 KB
总页数:16 页
更新时间:2025-11-19
总字数:约4.35千字
文档摘要

2025年Python高中暑期练习题库7

一、单选题(共50道题)

1.HelloWorld.split()的结果是()。

A.Hello,World。

B.[Helloworld]。

C.[HelloWorld]。

D.[Hello,World](正确答案)。

2.如下代码:str1=RunooBexample.wow!!!;str2=exam;print(str1.find(str2,5))输出的结果是()。

A.6

B.7

C.8

D.-1(正确答案)

3.已知代码print(abc,def,sep=),输出结果是()。

A.abcdef。

B.abcdef(正确答案)。

C.abc\n