编程测试:s=”hello”,t=”world”,s+=t,则s、s[-1]、s[2:8]、s...答:【答案】:s=helloworld,s[-1]=d,s[2:8]=llowor,s[::3]=hlod,s[-2::-1]=lrowolleh python代码如下 !/usr/bin/python s="hello"t="world"s+=t print("s=%s,s[-1]=%s,s[2:8]=%s,s[::3]=%s,s[-2::-1]=%s"%(s,s[-1],s[2:8],s[::3],s[-2::-1]))