APP下载
首页
>
财会金融
>
计算机python题库总
搜索
计算机python题库总
题目内容
(
判断题
)
9.( )字符串'Hello\nPython'中”\n”表示换行。

答案:A

计算机python题库总
7.( )以下程序的输出结果是:
https://www.shititong.cn/cha-kan/shiti/00057e3f-2faa-4907-c032-a61f4fe39600.html
点击查看题目
4.( )'age'+23不是正确的表达式。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-2a38-c032-a61f4fe39600.html
点击查看题目
5.( )运算符”-”可以用于集合的差集运算。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-caf0-c032-a61f4fe39600.html
点击查看题目
9.( )[1,2,[3]]+[4,5]的结果是[1,2,3,4,5]。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-737b-c032-a61f4fe39600.html
点击查看题目
5.( )函数的全局变量是列表类型的时候,函数内部不可以直接引用该全局变量。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2faa-22ac-c032-a61f4fe39600.html
点击查看题目
13.( )字符串的索引从1开始,因此第一个字符的索引为1,第二个字符的索引为2,依此类推。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-3ca3-c032-a61f4fe39600.html
点击查看题目
3.( )调用函数时,可变数量参数被当做元组类型传递到函数中
https://www.shititong.cn/cha-kan/shiti/00057e3f-2faa-1eb0-c032-a61f4fe39600.html
点击查看题目
10.( )以下程序的输出结果是:
https://www.shititong.cn/cha-kan/shiti/00057e3f-2faa-4ef2-c032-a61f4fe39600.html
点击查看题目
2.( )以写模式打开的文件无法进读操作。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2faa-6168-c032-a61f4fe39600.html
点击查看题目
13.(B)下面if语句统计满足”性别【gender】为女、年龄【age】在40岁以下、在公司任职【service()time】超过10年”条件的同事人数,正确的语句为:
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa8-e772-c032-a61f4fe39600.html
点击查看题目
首页
>
财会金融
>
计算机python题库总
题目内容
(
判断题
)
手机预览
计算机python题库总

9.( )字符串'Hello\nPython'中”\n”表示换行。

答案:A

分享
计算机python题库总
相关题目
7.( )以下程序的输出结果是:

A. 13579

B. 13579

C. [1,3,5,7,9]

D. error

https://www.shititong.cn/cha-kan/shiti/00057e3f-2faa-4907-c032-a61f4fe39600.html
点击查看答案
4.( )'age'+23不是正确的表达式。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-2a38-c032-a61f4fe39600.html
点击查看答案
5.( )运算符”-”可以用于集合的差集运算。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-caf0-c032-a61f4fe39600.html
点击查看答案
9.( )[1,2,[3]]+[4,5]的结果是[1,2,3,4,5]。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-737b-c032-a61f4fe39600.html
点击查看答案
5.( )函数的全局变量是列表类型的时候,函数内部不可以直接引用该全局变量。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2faa-22ac-c032-a61f4fe39600.html
点击查看答案
13.( )字符串的索引从1开始,因此第一个字符的索引为1,第二个字符的索引为2,依此类推。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa9-3ca3-c032-a61f4fe39600.html
点击查看答案
3.( )调用函数时,可变数量参数被当做元组类型传递到函数中
https://www.shititong.cn/cha-kan/shiti/00057e3f-2faa-1eb0-c032-a61f4fe39600.html
点击查看答案
10.( )以下程序的输出结果是:

A. 90

B. 80

C. 8

D. 9

https://www.shititong.cn/cha-kan/shiti/00057e3f-2faa-4ef2-c032-a61f4fe39600.html
点击查看答案
2.( )以写模式打开的文件无法进读操作。
https://www.shititong.cn/cha-kan/shiti/00057e3f-2faa-6168-c032-a61f4fe39600.html
点击查看答案
13.(B)下面if语句统计满足”性别【gender】为女、年龄【age】在40岁以下、在公司任职【service()time】超过10年”条件的同事人数,正确的语句为:

A. A

B. B

C. C

D. D

https://www.shititong.cn/cha-kan/shiti/00057e3f-2fa8-e772-c032-a61f4fe39600.html
点击查看答案
试题通小程序
试题通app下载