题解 | #反转字符串#
反转字符串
http://www.nowcoder.com/practice/c3a6afee325e472386a1c4eb1ef987f3
#
# 反转字符串
# @param str string字符串
# @return string字符串
#
class Solution:
def solve(self , str ):
# write code here
return str[::-1] 反转字符串
http://www.nowcoder.com/practice/c3a6afee325e472386a1c4eb1ef987f3
#
# 反转字符串
# @param str string字符串
# @return string字符串
#
class Solution:
def solve(self , str ):
# write code here
return str[::-1] 相关推荐
下午吃泡馍:数字马力的薪资一般哇,5年经验的java/测试就给人一万出头,而且刚入职第三天就让人出差,而且是出半年
帮你内推|数字马力 校招