剑指offer python版 左旋转字符串

def  aa(s,n):
    #n%=len(s)
    return s[n:]+s[:n]

print(aa('abddh',2))
原文地址:https://www.cnblogs.com/xzm123/p/9870405.html