vendredi 10 avril 2020

random sentence generator - by using lists to create tables [closed]

I am trying to populate a table with multiple word from lists of files.

for example

animal.txt           action.txt          time.text
 pig                   ate                 yesterday
 cow                   bathed              today
 cat                                       tomorrow
 bat

I am trying to create a random generator that take random rows from each file to create a sentence

random animal.txt action.txt time.txt

 cow ate yesterday
 cow bathed today
 cow ate tomorrow
 pig ate yesterday

any suggestion how how to do this. I am not a developer - so I am open to using excel or perl commands. I looked up (still doing so) excel commands that can take multiple cells to do this.. but not having luck.

thanks




Aucun commentaire:

Enregistrer un commentaire