Advertisement
Guest User

Untitled

a guest
Nov 1st, 2024
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.42 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2. """
  3. Created on Fri Nov  1 14:07:00 2024
  4.  
  5. @author: @letarumavza.bsky.social
  6. """
  7. from random import randint
  8.  
  9. def generate (total_phrases):
  10.     alfa = "abcdefghijklmnopqrstuvwxyz "
  11.     outlist = []
  12.     for i in range(total_phrases):
  13.         output = ""
  14.         for j in range(52):
  15.             output += alfa[randint(0,26)]
  16.         outlist += [output]
  17.     return outlist
  18.  
  19. print(generate(1000))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement