Ask Question
Today, 06:49

As part of a college literature course, students must select three classic works of literature from the provided list and complete critical book reviews for each selected work. Write a short description of the processes that can be used to generate a simple random sample of three books. Obtain a simple random sample of size 3 from this list.

+5
Answers (1)
  1. Today, 07:20
    0
    Step-by-step explanation:

    To solve this problem we are going to set Python as the language.

    books = ["a", "b", "c", ..., "z"]

    selection = list (3) #here we set a list of dimension 3 as 3 are supposed to be selected

    for book in books: #here we parse into the books list

    If book in selection: continue #in order to obtain different books, if the book #already in selection list, then we jump

    selection. append (random. choice (books)) #if not, we add the book to #selection

    print (selection)
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “As part of a college literature course, students must select three classic works of literature from the provided list and complete critical ...” in 📙 Mathematics if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers