将字符串"ilovechina"进行反转

s1 = "ilovechina"[::-1]
print(s1)

猜你喜欢

转载自blog.csdn.net/Da___Vinci/article/details/92805412