首页
题库
网课
在线模考
搜标题
搜题干
搜选项
Python程序设计填空题每日一练(2019.11.28)
填空题
已知formatter=’good{0}’.format,那么表达式list(map(formatter,[’morning’]))的值为()。
答案:
['good morning']
点击查看答案
填空题
Python内置函数()用来打开或创建文件并返回文件对象。
答案:
open()
点击查看答案
填空题
表达式abs(3+4j)的值为()。
答案:
5.0
点击查看答案
填空题
已知x=[3,5,7],那么执行语句x[len(x):]=[1,2]之后,x的值为()。
答案:
[3, 5, 7, 1, 2]
点击查看答案
填空题
表达式{1,2,3,4,5,6}^{5,6,7,8}的值为()。
答案:
{1, 2, 3, 4, 7, 8}
点击查看答案