字符串逆序输出

时间:2021-09-13 09:46:56   收藏:0   阅读:28

input_str = input("请输入一个字符串")
print(input_str[::-1])

技术分享图片

 

原文:https://www.cnblogs.com/lzw2019114243036/p/15257903.html

评论(0)
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!