白眉鹰王殷天正
白眉鹰王殷天正
全部文章
分类
题解(1)
归档
标签
去牛客网
登录
/
注册
白眉鹰王殷天正的博客
全部文章
(共1篇)
题解 | #反转字符串#
class Solution: def solve(self , str ): tempList=list(str) #字符串转为列表 tempList.reverse() return ''.join(tempList)
Python3
2021-11-07
3
352