APP下载
首页
>
IT互联网
>
python选择填空题库练习
搜索
python选择填空题库练习
题目内容
(
简答题
)
31.表达式“1.0+2>1.0”的结果为()。

答案:答案:True

python选择填空题库练习
18.已知列表 lst=[1,2,[3,4,5][6,7,8,9]],则表达式 lst[3][2]的值为
https://www.shititong.cn/cha-kan/shiti/00045648-dd49-3e8c-c0c9-4cc241d27c00.html
点击查看题目
41.为了增强程序的可读性,我们在 Python 程序中经常会书写一种以#开头的代码,这些不参与程序执行的代码被称作
https://www.shititong.cn/cha-kan/shiti/00045648-dd43-8e31-c0c9-4cc241d27c00.html
点击查看题目
26.字符串 A=“123456”,A[::-1]的结果是( )
https://www.shititong.cn/cha-kan/shiti/00045642-8980-ec23-c0c9-4cc241d27c00.html
点击查看题目
24.已知 s1=2,s2='ab',则表达式 s1*s2 的值为( )
https://www.shititong.cn/cha-kan/shiti/00045642-8980-2d17-c0c9-4cc241d27c00.html
点击查看题目
38.下列字符串操作的运行结果是' ‘>>>x='hell0'>>>print(x[::-1])
https://www.shititong.cn/cha-kan/shiti/00045648-dd42-c38d-c0c9-4cc241d27c00.html
点击查看题目
13.阅读以下程序,填写运行结果
https://www.shititong.cn/cha-kan/shiti/00045648-dd50-336a-c0c9-4cc241d27c00.html
点击查看题目
10.已知列表 lst=[1,'a',2,'b,3,c],则表达式 lst[-3]的值为( )
https://www.shititong.cn/cha-kan/shiti/00045642-8998-6d30-c0c9-4cc241d27c00.html
点击查看题目
16.以下程序的输出结果是( )
https://www.shititong.cn/cha-kan/shiti/00045642-898e-85c4-c0c9-4cc241d27c00.html
点击查看题目
29.已知字符串 s='0123456789',则以下表达式中值为'13579'的是( )
https://www.shititong.cn/cha-kan/shiti/00045642-8982-9800-c0c9-4cc241d27c00.html
点击查看题目
25. 以 下 程 序 用 于 输 出 正 整 数 m 和 n( ) 的 所 有 相 同 因 子 , 则 空 白 部 分 应 该 填 写 的 内 容是 。
https://www.shititong.cn/cha-kan/shiti/00045642-8992-cdee-c0c9-4cc241d27c00.html
点击查看题目
首页
>
IT互联网
>
python选择填空题库练习
题目内容
(
简答题
)
手机预览
python选择填空题库练习

31.表达式“1.0+2>1.0”的结果为()。

答案:答案:True

python选择填空题库练习
相关题目
18.已知列表 lst=[1,2,[3,4,5][6,7,8,9]],则表达式 lst[3][2]的值为
https://www.shititong.cn/cha-kan/shiti/00045648-dd49-3e8c-c0c9-4cc241d27c00.html
点击查看答案
41.为了增强程序的可读性,我们在 Python 程序中经常会书写一种以#开头的代码,这些不参与程序执行的代码被称作
https://www.shititong.cn/cha-kan/shiti/00045648-dd43-8e31-c0c9-4cc241d27c00.html
点击查看答案
26.字符串 A=“123456”,A[::-1]的结果是( )

A.  ”654321”

B.  ”6”

C. "1"

D.  ”123456”

https://www.shititong.cn/cha-kan/shiti/00045642-8980-ec23-c0c9-4cc241d27c00.html
点击查看答案
24.已知 s1=2,s2='ab',则表达式 s1*s2 的值为( )

A.  ’abab'

B.  报错

C.  2ab

D.  'ab2’

https://www.shititong.cn/cha-kan/shiti/00045642-8980-2d17-c0c9-4cc241d27c00.html
点击查看答案
38.下列字符串操作的运行结果是' ‘>>>x='hell0'>>>print(x[::-1])
https://www.shititong.cn/cha-kan/shiti/00045648-dd42-c38d-c0c9-4cc241d27c00.html
点击查看答案
13.阅读以下程序,填写运行结果
https://www.shititong.cn/cha-kan/shiti/00045648-dd50-336a-c0c9-4cc241d27c00.html
点击查看答案
10.已知列表 lst=[1,'a',2,'b,3,c],则表达式 lst[-3]的值为( )

A.  'b'

B.  ['b']

C.  b

D.  [b]

https://www.shititong.cn/cha-kan/shiti/00045642-8998-6d30-c0c9-4cc241d27c00.html
点击查看答案
16.以下程序的输出结果是( )

A.  10 is even

B.  10 is even 10 is multiple of 2

C.  10 is multiple of 2

D.  程序出错

https://www.shititong.cn/cha-kan/shiti/00045642-898e-85c4-c0c9-4cc241d27c00.html
点击查看答案
29.已知字符串 s='0123456789',则以下表达式中值为'13579'的是( )

A.  s[0:-1]

B.  s[0:-1:2]

C.  s[1:-1:2]

D.  s[1::2]

https://www.shititong.cn/cha-kan/shiti/00045642-8982-9800-c0c9-4cc241d27c00.html
点击查看答案
25. 以 下 程 序 用 于 输 出 正 整 数 m 和 n( ) 的 所 有 相 同 因 子 , 则 空 白 部 分 应 该 填 写 的 内 容是 。

A.  m%i==0 and n%i==0

B.   m%i==0 or n%i==0

C.  m//i==0 and n//i==0

D.  i%m==0 and i%n==0

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