Free42: Random Word Picker
|
09-09-2022, 12:26 PM
Post: #1
|
|||
|
|||
Free42: Random Word Picker
I’d like to write a program which randomly, or I suppose pseudorandomly, selects one word each from two large word lists, and hyphenates them, printing the result.
As an example, given these word lists: 1. fig, frog, cardboard, gelatin 2. soft, angry, instant, canned The program, when run, might output the following: canned-fig canned-cardboard instant-frog The question: How do I store the word lists? Is there such a thing as calling a file in free42? I figure someone has a more optimal way than simple listing them all in the code! Thanks! |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Free42: Random Word Picker - syzygetic - 09-09-2022 12:26 PM
RE: Free42: Random Word Picker - Thomas Okken - 09-09-2022, 01:38 PM
RE: Free42: Random Word Picker - Werner - 09-09-2022, 02:00 PM
RE: Free42: Random Word Picker - Thomas Okken - 09-09-2022, 07:33 PM
RE: Free42: Random Word Picker - rprosperi - 09-10-2022, 10:45 AM
RE: Free42: Random Word Picker - Thomas Okken - 09-10-2022, 01:28 PM
RE: Free42: Random Word Picker - syzygetic - 09-09-2022, 04:10 PM
RE: Free42: Random Word Picker - Thomas Okken - 09-10-2022, 10:10 AM
RE: Free42: Random Word Picker - Thomas Okken - 09-10-2022, 10:46 AM
RE: Free42: Random Word Picker - Thomas Okken - 09-11-2022, 12:34 PM
|
User(s) browsing this thread: 1 Guest(s)