index
:
clp
main
A small Python compiler with optimizer written in Java
dcariotti
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
progs
/
a372.py
blob: c5d6326a09388ef912df37bbef5450b935f853c3 (
plain
)
1
2
3
def
left_rotate
(
s
,
d
):
tmp
=
s
[
d
:
]
+
s
[
0
:
d
]
return
tmp