code: def rand_digits(n):
      top = 1 << (n * BITS_PER_DIGIT)
      return randrange(top >> 1, top)
  
imports: from random import randrange
  from time import perf_counter
  from _pylong import int_divmod
label_desc: Use image node_id 1 for calling a global function with example usage: rand_digits(n) and returns: randrange