2.执行语句 s=input(),当用户输入为-3.5 时,以下表达式错误的是( )
A. s+'3'
B. s+s
C. s*3
D. s*s
https://www.shititong.cn/cha-kan/shiti/00045642-8975-8b9a-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
点击查看答案
36.表达式 13%5+3 的计算结果是()。
https://www.shititong.cn/cha-kan/shiti/00045648-dd41-5b73-c0c9-4cc241d27c00.html
点击查看答案
15.运行以下程序后,文件 result.txt 中的内容为( )
https://www.shititong.cn/cha-kan/shiti/00045642-89ad-0d5a-c0c9-4cc241d27c00.html
点击查看答案
6.操作计算机时,快捷键 Ctrl+Alt+Del 的正确执行方法是:( )
A. 按住 Ctrl 和 Alt 键不松,再按下 Del 键
B. 三个键必须同时按下
C. 按住 Ctr|键不松,再同时按下 Alt 和 Del 键
D. 逐个按下 Ctrl、Alt、Del 键
https://www.shititong.cn/cha-kan/shiti/00045642-895e-44b7-c0c9-4cc241d27c00.html
点击查看答案
45.已知字符串 s='1A2B3C4D',则表达式'ABCD' in s 的值为
https://www.shititong.cn/cha-kan/shiti/00045648-dd44-6f6b-c0c9-4cc241d27c00.html
点击查看答案
17.执行以下程序后,假设用户输入 543,则输出结果为()。
https://www.shititong.cn/cha-kan/shiti/00045642-896f-0670-c0c9-4cc241d27c00.html
点击查看答案
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
点击查看答案
2.表达式 set(“pypy123”)的值是( )
A. {'py123'}
B. {‘p’,’y’,’p’,’y’,’1’,’2’,’3’}
C. {'pypy123'}
D. {‘1’,’p',’2’,’3',’y’}
https://www.shititong.cn/cha-kan/shiti/00045642-899b-9050-c0c9-4cc241d27c00.html
点击查看答案
7.执行以下程序后,a 和 b 的值分别为()。 a=1 b=a a=a-b
A. 1、1
B. 1、0
C. 0、0
D. 0、1
https://www.shititong.cn/cha-kan/shiti/00045642-8969-dc41-c0c9-4cc241d27c00.html
点击查看答案