APP下载
首页
>
IT互联网
>
python选择填空题库练习
搜索
python选择填空题库练习
题目内容
(
单选题
)
20.(单选题,2 分)下列程序段执行结果是上( )

A、 A

B、 B

C、 C

D、 D

答案:D

python选择填空题库练习
21.以下哪个程序相对较优()。
https://www.shititong.cn/cha-kan/shiti/00045642-8970-e529-c0c9-4cc241d27c00.html
点击查看题目
10. ()分隔数值的存储格式叫做 CSV 格式
https://www.shititong.cn/cha-kan/shiti/00045642-89aa-9a1a-c0c9-4cc241d27c00.html
点击查看题目
28.以下不能实现将变量 a 的值增加 1 的是( )
https://www.shititong.cn/cha-kan/shiti/00045642-8982-3216-c0c9-4cc241d27c00.html
点击查看题目
3.在 IDLE 的文件式运行环境下,执行程序的快捷键为( )
https://www.shititong.cn/cha-kan/shiti/00045642-8954-7faa-c0c9-4cc241d27c00.html
点击查看题目
11.现代计算机的基本结构“程序存储思想”是由( )提出来的。
https://www.shititong.cn/cha-kan/shiti/00045642-895f-f0b3-c0c9-4cc241d27c00.html
点击查看题目
6.能够读出文件所有内容并作为一个字符串返回的方法是 方法。
https://www.shititong.cn/cha-kan/shiti/00045642-89a9-1c9f-c0c9-4cc241d27c00.html
点击查看题目
25.math 库中的哪个函数能够实现求解最大公约数的功能()。
https://www.shititong.cn/cha-kan/shiti/00045642-8972-771f-c0c9-4cc241d27c00.html
点击查看题目
21.在字符串中输出一个实数的时候,最常使用的保留小数点后 2 位的格式化控制符是( )
https://www.shititong.cn/cha-kan/shiti/00045642-897e-f92c-c0c9-4cc241d27c00.html
点击查看题目
20.已知 set1={0,1,2,3},set2={2,3,4,5}。通过集合计算得到 set3={4,5},可以用表达式 set3 = 实现。(在空格处填写合适的集合计算表达式)
https://www.shititong.cn/cha-kan/shiti/00045648-dd4c-e789-c0c9-4cc241d27c00.html
点击查看题目
3.python 通过( )来判断操作是否在分支结构中。
https://www.shititong.cn/cha-kan/shiti/00045642-8987-dafe-c0c9-4cc241d27c00.html
点击查看题目
首页
>
IT互联网
>
python选择填空题库练习
题目内容
(
单选题
)
手机预览
python选择填空题库练习

20.(单选题,2 分)下列程序段执行结果是上( )

A、 A

B、 B

C、 C

D、 D

答案:D

python选择填空题库练习
相关题目
21.以下哪个程序相对较优()。

A.  A

B.  B

C.  C

D.  D

https://www.shititong.cn/cha-kan/shiti/00045642-8970-e529-c0c9-4cc241d27c00.html
点击查看答案
10. ()分隔数值的存储格式叫做 CSV 格式

A.  空格

B.  百分号

C.  逗号

D.  分号

https://www.shititong.cn/cha-kan/shiti/00045642-89aa-9a1a-c0c9-4cc241d27c00.html
点击查看答案
28.以下不能实现将变量 a 的值增加 1 的是( )

A.  a=a+int('1')

B.  a+1

C.  a=a+1

D.  a+=1

https://www.shititong.cn/cha-kan/shiti/00045642-8982-3216-c0c9-4cc241d27c00.html
点击查看答案
3.在 IDLE 的文件式运行环境下,执行程序的快捷键为( )

A.  F3

B.  F5

C.  F1

D.  F12

https://www.shititong.cn/cha-kan/shiti/00045642-8954-7faa-c0c9-4cc241d27c00.html
点击查看答案
11.现代计算机的基本结构“程序存储思想”是由( )提出来的。

A.  Bell

B.  Dennis M.Ritchie

C.  Von Neumann

D.  Ken Thompsom

https://www.shititong.cn/cha-kan/shiti/00045642-895f-f0b3-c0c9-4cc241d27c00.html
点击查看答案
6.能够读出文件所有内容并作为一个字符串返回的方法是 方法。

A.  readlines()

B.  open()

C.  readline()

D.  read()

https://www.shititong.cn/cha-kan/shiti/00045642-89a9-1c9f-c0c9-4cc241d27c00.html
点击查看答案
25.math 库中的哪个函数能够实现求解最大公约数的功能()。

A.  fmod

B.  gcd

C.  factorial

D.  fabs

https://www.shititong.cn/cha-kan/shiti/00045642-8972-771f-c0c9-4cc241d27c00.html
点击查看答案
21.在字符串中输出一个实数的时候,最常使用的保留小数点后 2 位的格式化控制符是( )

A.  {:2f}

B.  {:.2f}

C.  i.2f}

D.  {.2}

https://www.shititong.cn/cha-kan/shiti/00045642-897e-f92c-c0c9-4cc241d27c00.html
点击查看答案
20.已知 set1={0,1,2,3},set2={2,3,4,5}。通过集合计算得到 set3={4,5},可以用表达式 set3 = 实现。(在空格处填写合适的集合计算表达式)
https://www.shititong.cn/cha-kan/shiti/00045648-dd4c-e789-c0c9-4cc241d27c00.html
点击查看答案
3.python 通过( )来判断操作是否在分支结构中。

A.  花括号

B.  缩进

C.  冒号

D.  括号

https://www.shititong.cn/cha-kan/shiti/00045642-8987-dafe-c0c9-4cc241d27c00.html
点击查看答案
试题通小程序
试题通app下载