Post Reply 
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!
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Free42: Random Word Picker - syzygetic - 09-09-2022 12:26 PM
RE: Free42: Random Word Picker - Werner - 09-09-2022, 02:00 PM
RE: Free42: Random Word Picker - rprosperi - 09-10-2022, 10:45 AM
RE: Free42: Random Word Picker - syzygetic - 09-09-2022, 04:10 PM



User(s) browsing this thread: 1 Guest(s)