Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save santhalakshminarayana/3325347c2c38fc042cb943bf2cba0c28 to your computer and use it in GitHub Desktop.
Save santhalakshminarayana/3325347c2c38fc042cb943bf2cba0c28 to your computer and use it in GitHub Desktop.
Indian Name Generator - Generator Example - Medium
text_count = 0
input_text = 'PRIYA'
while text_count < 50:
gen_text = generate(input_text)
gen_text = gen_text.strip('.')
if len(gen_text) > 6 and gen_text not in names:
text_count += 1
input_text = gen_text
print(gen_text)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment