首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
下面代码的输出结果是 s1=’’The python language is a scripting language.’’ s1.replace(’scripting’,’general’) print(s1)
下面代码的输出结果是 s1=’’The python language is a scripting language.’’ s1.replace(’scripting’,’general’) print(s1)
admin
2019-09-02
13
问题
下面代码的输出结果是
s1=’’The python language is a scripting language.’’
s1.replace(’scripting’,’general’)
print(s1)
选项
A、The python language is a scripting language.
B、The python language is a general language.
C、[’The’,’python’,’language’,’is’,’a’,’scripting’,’language.’]
D、系统报错
答案
A
解析
转载请注明原文地址:https://kaotiyun.com/show/sN6p777K
本试题收录于:
二级Python题库NCRE全国计算机二级分类
0
二级Python
NCRE全国计算机二级
相关试题推荐
在VisualFoxPro中,下面的描述中正确是
在数据库中建立索引的目的是
在VisualFoxPro的一个表单中设计一个“退出”命令按钮负责关闭表单,该命令按钮的Click事件代码是
对下列二叉树进行前序遗历的结果为
在使用查询设计器创建查询时,为了指定在查询结果中是否包含重复记录(对应于DISTINCT),应该使用的选项卡是()。
在VisualFoxPro中,程序中不需要用PUBLIC等命令明确声明和建立,可直接使用的内存变量是()。
对长度为n的线性表排序,在最坏情况下,比较次数不是n(n—1)/2的排序方法是()。
设循环队列的存储空间为Q(1:50),初始状态为front=rear=50。现经过一系列入队与退队操作后,front=rear=1,此后又正常地插入了两个元素。最后该队列中的元素个数为()。
设栈的存储空间为S(1:50),初始状态为top=51。现经过一系列正常的入栈与退栈操作后,top=20,则栈中的元素个数为()。
下列排序方法中,最坏情况下比较次数最少的是()。
随机试题
以下所列机场中,属于干线机场的有()。
喉上神经内侧支损伤出现()。
男性,56岁。2年来消瘦、乏力,近5天来发热、嗜睡,1天来意识障碍急诊入院,既往患乙型肝炎多年,吸烟史20年。查体:T37.5℃,P86次/分,R20次/分,BP120/80mmHg,神志不清,巩膜轻度黄染,颈软,心肺检查未见异常,腹平软,肝肋下未及,脾肋
电子线穿过物质时
男性,25岁,2天前不明原因地出现干咳、胸闷,继之气喘,静滴氨茶碱无效。近3年来,秋季常出现发作性咳嗽、气短。体检:端坐呼吸,发绀,双肺呼吸音降低,有散在哮鸣音,心界不大,无杂音,脉搏120次/min,有奇脉。如要明确诊断,最需做的检查是
诊断内分泌疾病,下列哪项较易于确定
系统性红斑狼疮的临床表现主要是
“五四”时期,()率先提出“非把知识阶级与劳工阶级打成一气不可”的口号,并与其他知识分子一起倡导和发动”到民间去”的运动。
以下()选项属于多媒体技术在影视娱乐业方面的应用。
WhenIwasatschool,my【B1】______wastobeapilotintheAirForce.Butmy【B2】______wasn’tgoodenough,soIhadtogiveupth
最新回复
(
0
)