已知formatter=’good{0}’.format,表达式list(map(formatter,[‘marning’]))的值为______ 。
查看答案
已知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=’,’)的执行结果是______ 。