About 357,000 results
Open links in new tab
  1. Random word generator- Python - Stack Overflow

    Using random.sample will provide you with a list of the total number of items (characters in this case) from the given object (a string object here) based on the number you want (random.sample …

  2. c# - Random Word Generator #2 - Stack Overflow

    So I made a pretty simple word generator program in c# that works relatively well. It generates a word based on the length defined by the user. The algorithm adds a consonant and then a vowel for...

  3. arrays - Generating random words in Java? - Stack Overflow

    If it helps, here's a list of every word in the Scrabble dictionary. Once you have a list of all words in a language, you can load those words into an ArrayList or other linear structure. You can then …

  4. Generate a random letter in Python - Stack Overflow

    Is there a way to generate random letters in Python (like random.randint but for letters)? The range functionality of random.randint would be nice but having a generator that just outputs a random ...

  5. Generate random sentences in python - Stack Overflow

    Apr 29, 2015 · Note that with this method, there are only 5 possible sentences, instead of the 625 possible sentences if you pick a random number for each word.

  6. How to generate random words in JavaScript? - Stack Overflow

    Possible Duplicate: Getting a random value from a JavaScript array OK, so I have three variables here, each being rock, paper or scissors. Using JavaScript, how can I generate one of those words

  7. How to generate random strings in Python? - Stack Overflow

    Mar 17, 2022 · How do you create a random string in Python? I need it to be number then character, repeating until the iteration is done. This is what I created: def random_id(length): number = …

  8. Generating random strings with T-SQL - Stack Overflow

    49 When generating random data, specially for test, it is very useful to make the data random, but reproducible. The secret is to use explicit seeds for the random function, so that when the test is run …

  9. Generating a random & unique 8 character string using MySQL

    May 24, 2013 · I wouldn't bother with the likelihood of collision. Just generate a random string and check if it exists. If it does, try again and you shouldn't need to do it more than a couple of times unless you …

  10. Random word generator in Python - Stack Overflow

    BTW: to select one of the word_list elements randomly, just use random.choice. That way, you don't have to worry about how long the list is, and the code won't break if the file changes. Also, instead of …