📜  如何在python代码示例中反转字符串

📅  最后修改于: 2022-03-11 14:46:22.700000             🧑  作者: Mango

代码示例6
user_input = input("Input the sentence you want reversed: ")
print (user_input[::-1])
#This is the easiest way to do it lol