单项选择题
表达式’This is a test’.startswith(’Th’,1)的值为()。
A.FalseB.TrueC.0D.1
单项选择题 已知字符串x =’hello Python’,那么执行语句x.replace(’hello’,’hi’)之后,x 的值为()。
单项选择题 已知函数定义def demo(x,y):return x+y ,那么表达式demo(’3’,’5’)的值为()。
单项选择题 已知x ={10:20},那么执行语句x[20]=30之后,x 的值为()。