Question: Python: Lets write a story by randomly combining sentences. That should work out well. Have the user enter sentences and store them in a list.

Python:

Lets write a story by randomly combining sentences. That should work out well.

Have the user enter sentences and store them in a list. Use a method similar to the grade entry from class.

Write a function make_story that takes this list of strings as a parameter and returns a story. The story should be the concatenation of three random strings from the list of sentences.

Write a loop to call this function 10 times and print out all the stories.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!