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
/
a142.py
blob: a6ecb35d61254167bc69e72c44a9369350d3defa (
plain
)
1
2
3
def
rotate_right
(
list1
,
m
,
n
):
result
=
list1
[
-
(
m
):]
+
list1
[:
-
(
n
)]
return
result