code: def random_numbers(n):
      
      return ''.join(random.SystemRandom().choice(string.digits) for _ in range(n))
docs: Generate a random string from 0-9
      :param n: length of the string
      :return: the random string