已知x=’hello world.’,表达式x.find(‘x’)和x.rfind(‘x’)的值都为______ 。
查看答案
已知x=’hello world’,表达式x.replace(‘l’,’g’)的值为______ 。
代码print(1,2,3,sep=’:’)的执行结果是______ 。
代码for i in range(3):print(i,end=’,’)的执行结果是______ 。
假设math标准库已导入,表达式eval(‘math.sqrt(4)’)的值为______ 。