python
左旋转字符串
http://www.nowcoder.com/questionTerminal/12d959b108cb42b1ab72cef4d36af5ec
# -*- coding:utf-8 -*- class Solution: def LeftRotateString(self, s, n): # write code here if s=="" or n>len(s):return "" return s[n:]+s[:n]
左旋转字符串
http://www.nowcoder.com/questionTerminal/12d959b108cb42b1ab72cef4d36af5ec
# -*- coding:utf-8 -*- class Solution: def LeftRotateString(self, s, n): # write code here if s=="" or n>len(s):return "" return s[n:]+s[:n]
相关推荐