code: def digits(maxprec):
      if maxprec == 0:
          return ""
      return str(randrange(10**maxprec))
  
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 3 for calling a global function with example usage: digits(maxprec) and returns: str, str