parameters: (self, N, K)
return_statement: return ret
docstring: :type N: int
          :type K: int
          :rtype: List[int]
docstring_summary: :type N: int
          :type K: int
          :rtype: List[int]
docstring_tokens: : type N : int : type K : int : rtype : List [ int ]
function: def numsSameConsecDiff(self, N, K):
          """
          :type N: int
          :type K: int
          :rtype: List[int]
          """
          ret = []
          if N == 1:
              ret.append(0)
          for i in range(1, 10):
              self.helper(i, N - 1, K, ret, i)
          return ret
function_tokens: def numsSameConsecDiff ( self , N , K ) : ret = [ ] if N == 1 : ret . append ( 0 ) for i in range ( 1 , 10 ) : self . helper ( i , N - 1 , K , ret , i ) return ret