comefrom: <garvit244>19_1.py
code: def removeNthFromEnd( head, n):
      if not head:
          return None
      
      ref = head
      while n > 0:
          ref = ref.next
          n -= 1
      
      if ref is None:
          return head.next
      else:
          main = head
          while ref.next:
              main = main.next
              ref = ref.next
      
          main.next = main.next.next
          return head
masked: def sample_funcname ( var_0 , var_1 ) :
      if not var_0 :
          return None
      var_3 = var_0
      while var_1 > 0 :
          var_3 = var_3.next
          var_1 -= 1
      if var_3 is None :
          return var_0.next
      else :
          var_7 = var_0
          while var_3.next :
              var_7 = var_7.next
              var_3 = var_3.next
          var_7.next = var_7.next.next
          return var_0
  