def aa(s,n): #n%=len(s) return s[n:]+s[:n] print(aa('abddh',2)) 转载于:https://www.cnblogs.com/xzm123/p/9870405.html