summaryrefslogtreecommitdiff
path: root/progs/a142.py
blob: a6ecb35d61254167bc69e72c44a9369350d3defa (plain)
1
2
3
def rotate_right(list1,m,n):
  result =  list1[-(m):]+list1[:-(n)]
  return result