code: def ndigits(n):
      if n < 1:
          return 0
      return randrange(10 ** (n - 1), 10**n)
  
imports: from random import randrange, sample
  from fractions import Fraction
  from randfloat import un_randfloat, bin_randfloat, tern_randfloat
label_desc: Use image node_id 14 for calling a global function with example usage: ndigits(n) and returns: randrange, int