def generate_captions(niche, tone): caps = [] for i in range(20): caps.append(f"{niche} caption ({tone}): Make this one hit #{i+1}") return caps