单项选择题
已知x=[1,2,3],执行x.extend([4,5])后,len(x)的值为()。
A.4B.5C.3D.2
单项选择题 表达式’This is a test’.startswith(’is’,2)的值为()。
单项选择题 已知字符串x =’hello world,hello python’,那么执行语句x.replace(’hello’,’hi’,1)之后,x 的值为()。
单项选择题 已知函数定义def demo():return lambda x,y=10:x+y,那么表达式demo()(5)的值为()。