字符串_左旋转字符串 # -*- coding:utf-8 -*- class Solution: def LeftRotateString(self, s, n): # write code here if len(s) == 0: return s n = n%len(s) s = s[n:] + s[:n] return s