APP下载
首页
>
IT互联网
>
python选择填空题库练习
搜索
python选择填空题库练习
题目内容
(
单选题
)
14.以下程序用于输出所有三位正整数中的奇数,则空白部分应该填写的内容是( )

A、 range(100,1000,2)

B、 range(100,999,2)

C、 range(99,1000,2)

D、 range(101,1000,2)

答案:D

python选择填空题库练习
35.下列表达式 30-3**2 的计算结果是()。
https://www.shititong.cn/cha-kan/shiti/00045648-dd41-23f5-c0c9-4cc241d27c00.html
点击查看题目
10.在 Python 中,不可以用来表示字符串的符号是( )
https://www.shititong.cn/cha-kan/shiti/00045642-8979-daef-c0c9-4cc241d27c00.html
点击查看题目
45.已知字符串 s='1A2B3C4D',则表达式'ABCD' in s 的值为
https://www.shititong.cn/cha-kan/shiti/00045648-dd44-6f6b-c0c9-4cc241d27c00.html
点击查看题目
31.以下程序运行的结果是( )
https://www.shititong.cn/cha-kan/shiti/00045642-8984-3cbe-c0c9-4cc241d27c00.html
点击查看题目
25.阅读以下程序,假设用户输入为 18,则运行结果为
https://www.shititong.cn/cha-kan/shiti/00045648-dd52-cfba-c0c9-4cc241d27c00.html
点击查看题目
4.对于序列 numbers=[1,2,3,4,5,6,7,8,9,10],以下相关操作中哪一个得到的结果中包含数字 6?
https://www.shititong.cn/cha-kan/shiti/00045642-8995-64c8-c0c9-4cc241d27c00.html
点击查看题目
31.已知字典 dic={'小明':[90,80],'小红':[65,88],'小琳':[90,100]},则表达式 len(dic['小明']+dic['小红'])的值
https://www.shititong.cn/cha-kan/shiti/00045648-dd4f-5195-c0c9-4cc241d27c00.html
点击查看题目
8.Windows 操作系统中,一般用快捷键()来保存当前正在编辑的工作内容。
https://www.shititong.cn/cha-kan/shiti/00045642-895e-f102-c0c9-4cc241d27c00.html
点击查看题目
19.20%3 的执行结果为()。
https://www.shititong.cn/cha-kan/shiti/00045642-8970-399b-c0c9-4cc241d27c00.html
点击查看题目
19.下列程序的输出结果是:
https://www.shititong.cn/cha-kan/shiti/00045648-dd51-5d6b-c0c9-4cc241d27c00.html
点击查看题目
首页
>
IT互联网
>
python选择填空题库练习
题目内容
(
单选题
)
手机预览
python选择填空题库练习

14.以下程序用于输出所有三位正整数中的奇数,则空白部分应该填写的内容是( )

A、 range(100,1000,2)

B、 range(100,999,2)

C、 range(99,1000,2)

D、 range(101,1000,2)

答案:D

python选择填空题库练习
相关题目
35.下列表达式 30-3**2 的计算结果是()。
https://www.shititong.cn/cha-kan/shiti/00045648-dd41-23f5-c0c9-4cc241d27c00.html
点击查看答案
10.在 Python 中,不可以用来表示字符串的符号是( )

A.  ”“(一对三引号)

B.  [](一对方括号)

C.  ””(一对双引号)

D.  '(一对单引号)

https://www.shititong.cn/cha-kan/shiti/00045642-8979-daef-c0c9-4cc241d27c00.html
点击查看答案
45.已知字符串 s='1A2B3C4D',则表达式'ABCD' in s 的值为
https://www.shititong.cn/cha-kan/shiti/00045648-dd44-6f6b-c0c9-4cc241d27c00.html
点击查看答案
31.以下程序运行的结果是( )

A.  False

B.  True

C. -1

D. 0

https://www.shititong.cn/cha-kan/shiti/00045642-8984-3cbe-c0c9-4cc241d27c00.html
点击查看答案
25.阅读以下程序,假设用户输入为 18,则运行结果为
https://www.shititong.cn/cha-kan/shiti/00045648-dd52-cfba-c0c9-4cc241d27c00.html
点击查看答案
4.对于序列 numbers=[1,2,3,4,5,6,7,8,9,10],以下相关操作中哪一个得到的结果中包含数字 6?

A.  >>> numbers[6]

B.  >>> numbers[5:-1]

C.  >>> numbers[-4:-1]

D.  >>> numbers[0: 5]

https://www.shititong.cn/cha-kan/shiti/00045642-8995-64c8-c0c9-4cc241d27c00.html
点击查看答案
31.已知字典 dic={'小明':[90,80],'小红':[65,88],'小琳':[90,100]},则表达式 len(dic['小明']+dic['小红'])的值
https://www.shititong.cn/cha-kan/shiti/00045648-dd4f-5195-c0c9-4cc241d27c00.html
点击查看答案
8.Windows 操作系统中,一般用快捷键()来保存当前正在编辑的工作内容。

A.  Ctrl+P

B.  Ctrl+S

C.  Alt+F4

D.  Ctrl+C

https://www.shititong.cn/cha-kan/shiti/00045642-895e-f102-c0c9-4cc241d27c00.html
点击查看答案
19.20%3 的执行结果为()。

A. 2

B. 6

C. 7

D. 4

https://www.shititong.cn/cha-kan/shiti/00045642-8970-399b-c0c9-4cc241d27c00.html
点击查看答案
19.下列程序的输出结果是:
https://www.shititong.cn/cha-kan/shiti/00045648-dd51-5d6b-c0c9-4cc241d27c00.html
点击查看答案
试题通小程序
试题通app下载