This question already has an answer here:
How do I generate random sentences with punctuation from a list of words in Python3?
I for example have the list= ("apple", "happy", "garden", "cat", "house", "in" bottle")
And as a result I would like random sentences like:
garden house cat?
apple bottle happy garden!
garden apple house cat.
Aucun commentaire:
Enregistrer un commentaire