APP下载
首页
>
IT互联网
>
python选择填空题库练习
搜索
python选择填空题库练习
题目内容
(
单选题
)
24.已知 s1=2,s2='ab',则表达式 s1*s2 的值为( )

A、 ’abab'

B、 报错

C、 2ab

D、 'ab2’

答案:A

python选择填空题库练习
15.已知 set1={0,1,2,3},set2={2,3,4,5}。通过集合计算得到 set3={2,3},可以用表达式 set3 = 实
现。(在空格处填写合适的集合计算表达式)
https://www.shititong.cn/cha-kan/shiti/00045648-dd4b-c34d-c0c9-4cc241d27c00.html
点击查看题目
40.表达式 13//5+3 的计算结果是()。
https://www.shititong.cn/cha-kan/shiti/00045648-dd42-2089-c0c9-4cc241d27c00.html
点击查看题目
6.请问以下四个赋值操作中,哪一个操作可以得到个字典类型的数据?( )
https://www.shititong.cn/cha-kan/shiti/00045642-899d-403a-c0c9-4cc241d27c00.html
点击查看题目
38.下列代码的输出结果是
https://www.shititong.cn/cha-kan/shiti/00045648-dd47-d64a-c0c9-4cc241d27c00.html
点击查看题目
26.已知列表 lst=[1,2,3,4,5,6,7,8,9],则表达式 sum(lst[1::3])的值为
https://www.shititong.cn/cha-kan/shiti/00045648-dd4a-e7fd-c0c9-4cc241d27c00.html
点击查看题目
27.高级语言程序中,程序的三种基本结构不包括
https://www.shititong.cn/cha-kan/shiti/00045642-8993-90d3-c0c9-4cc241d27c00.html
点击查看题目
1.Python 中定义函数的关键字是( )
https://www.shititong.cn/cha-kan/shiti/00045642-89a1-790a-c0c9-4cc241d27c00.html
点击查看题目
29.123+5.0 的执行结果为()。
https://www.shititong.cn/cha-kan/shiti/00045642-8974-ceab-c0c9-4cc241d27c00.html
点击查看题目
14.计算机中表示信息的最小单位是()。
https://www.shititong.cn/cha-kan/shiti/00045642-8960-e122-c0c9-4cc241d27c00.html
点击查看题目
8.Windows 操作系统中,一般用快捷键()来保存当前正在编辑的工作内容。
https://www.shititong.cn/cha-kan/shiti/00045642-895e-f102-c0c9-4cc241d27c00.html
点击查看题目
首页
>
IT互联网
>
python选择填空题库练习
题目内容
(
单选题
)
手机预览
python选择填空题库练习

24.已知 s1=2,s2='ab',则表达式 s1*s2 的值为( )

A、 ’abab'

B、 报错

C、 2ab

D、 'ab2’

答案:A

python选择填空题库练习
相关题目
15.已知 set1={0,1,2,3},set2={2,3,4,5}。通过集合计算得到 set3={2,3},可以用表达式 set3 = 实
现。(在空格处填写合适的集合计算表达式)
https://www.shititong.cn/cha-kan/shiti/00045648-dd4b-c34d-c0c9-4cc241d27c00.html
点击查看答案
40.表达式 13//5+3 的计算结果是()。
https://www.shititong.cn/cha-kan/shiti/00045648-dd42-2089-c0c9-4cc241d27c00.html
点击查看答案
6.请问以下四个赋值操作中,哪一个操作可以得到个字典类型的数据?( )

A.  >>>data={‘Zhangsan’:18}

B.  >>>data=[‘Zhangsan',18]

C.  >>>data=”’Zhangsan',18”

D.  >>>data=('Zhangsan’,18)

https://www.shititong.cn/cha-kan/shiti/00045642-899d-403a-c0c9-4cc241d27c00.html
点击查看答案
38.下列代码的输出结果是
https://www.shititong.cn/cha-kan/shiti/00045648-dd47-d64a-c0c9-4cc241d27c00.html
点击查看答案
26.已知列表 lst=[1,2,3,4,5,6,7,8,9],则表达式 sum(lst[1::3])的值为
https://www.shititong.cn/cha-kan/shiti/00045648-dd4a-e7fd-c0c9-4cc241d27c00.html
点击查看答案
27.高级语言程序中,程序的三种基本结构不包括

A.  顺序结构

B.  循环结构

C.  分支结构

D.  限制结构

https://www.shititong.cn/cha-kan/shiti/00045642-8993-90d3-c0c9-4cc241d27c00.html
点击查看答案
1.Python 中定义函数的关键字是( )

A.  define

B.  def

C.  function

D.  defunc

https://www.shititong.cn/cha-kan/shiti/00045642-89a1-790a-c0c9-4cc241d27c00.html
点击查看答案
29.123+5.0 的执行结果为()。

A.  以上都不对

B. 128

C.  128+0j

D. 128

https://www.shititong.cn/cha-kan/shiti/00045642-8974-ceab-c0c9-4cc241d27c00.html
点击查看答案
14.计算机中表示信息的最小单位是()。

A.  字节

B.  比特

C.  程序

D.  字符

https://www.shititong.cn/cha-kan/shiti/00045642-8960-e122-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
点击查看答案
试题通小程序
试题通app下载