Let's say I have two sentences as follows,
sent1 = "This is an example sentence one"
sent2 = "This is also an example sentence"
how do I pick random words from those two sentences and print them into something like this,
"is This an example one sentence"
I want words from both sentences to be present at the output.
Aucun commentaire:
Enregistrer un commentaire