code: def random_str(size=10):
      
      return ''.join(random.choice(string.ascii_lowercase) for _ in range(size))
docs: create random string of selected size
  
      :param size: int, length of the string
      :return: the string