summaryrefslogtreecommitdiff
path: root/progs/a372.py
blob: c5d6326a09388ef912df37bbef5450b935f853c3 (plain)
1
2
3
def left_rotate(s,d):
    tmp = s[d : ] + s[0 : d]
    return tmp