切片[::-1],能够实现字符串快速逆置

 

 

posted on 2018-04-01 17:03  菜鸟growing  阅读(104)  评论(0)    收藏  举报