comefrom: <garvit244>61_1.py
code: def rotateRight( head, k):
      if k == 0:
          return head
      if not head:
          return None
      
      tempHead, length = head, 1
      while tempHead.next:
          length += 1
          tempHead = tempHead.next
      
      tempHead.next = head
      jump = (length-k)%length
      
      previous = tempHead
      while jump > 0:
          previous = previous.next
          jump -= 1
      head = previous.next
      previous.next = None
      
      return head
masked: def sample_funcname ( var_0 , var_1 ) :
      if var_1 == 0 :
          return var_0
      if not var_0 :
          return None
      var_4 , var_6 = var_0 , 1
      while var_4.next :
          var_6 += 1
          var_4 = var_4.next
      var_4.next = var_0
      var_8 = ( var_6 - var_1 ) % var_6
      var_9 = var_4
      while var_8 > 0 :
          var_9 = var_9.next
          var_8 -= 1
      var_0 = var_9.next
      var_9.next = None
      return var_0
  