1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
AlexFokin [52]
3 years ago
8

In the following cell, we've loaded the text of Pride and Prejudice by Jane Austen, split it into individual words, and stored t

hese words in an array p_and_p_words. Using a for loop, assign longer_than_five to the number of words in the novel that are more than 5 letters long. Hint: You can find the number of letters in a word with the len function.
Computers and Technology
1 answer:
Sever21 [200]3 years ago
7 0

Answer:

Explanation:

Since the array is not provided, I created a Python function that takes in the array and loops through it counting all of the words that are longer than 5. Then it returns the variable longer_than_five. To test this function I created an array of words based on the synapse of Pride and Prejudice. The output can be seen in the attached picture below.

def countWords(p_and_p_words):

   longer_than_five = 0

   for word in p_and_p_words:

       if len(word) > 5:

           longer_than_five += 1

   return longer_than_five

You might be interested in
An international package shipping company like FedEx needs to be able to track the location of every package at every stage in t
Luba_88 [7]

Answer:

<em>The specific type of software useful in this situation would be a ship manager software. </em>

Explanation:

<em>It is a stand alone, user installable, windows-based software package designed to allow the quickly ship, track, and report the daily activities.</em>

<em>In addition to managing shipment information, the software keeps the details of the operation, so that the user can easily retrieve necessary information about his shipments.</em>

8 0
3 years ago
Read 2 more answers
If you store a binary tree in an array the index of the right child and the left child is computed by _______
Fiesta28 [93]

Answer:

left child = 2 index +1 & right child = 2 index + 2

Please Mark Brainliest If This Helped!

3 0
3 years ago
Which one of the following commands will list the contents of a directory, and put those listed contents into a file called "myd
9966 [12]

Answer:

ls -pla > mydir

Explanation:

ls is the command to list the contents of the directory.

-p option indicate / as the designator for directories

-l  options enables line by line entries for files

-a option lists all files including special files starting with .

> is used for redirecting the output of the ls command to the specified file.

So ls -pla > mydir will run ls command with -pla option and populate the file mydir with the contents of the result.

5 0
3 years ago
Computers and other technologies perform a great deal of work today, reducing the need for workers with special expertise. As a
Veronika [31]

Answer: deskilling

Explanation: Deskilling is the process by which skilled labor within an industry or economy is abolished by the introduction of technologies operated by semi skilled or unskilled labourers .

5 0
3 years ago
A user needs to open some files that are being shared from a remote computer. however, the user receives an "access denied" mess
scoundrel [369]
Hes not a member of the group that has been granted access to view the files
5 0
4 years ago
Other questions:
  • Consider the following general code for allowing access to a resource:
    13·1 answer
  • What color does Sam obtain when he mixes white with a color? Sam is painting a landscape and needs to paint the sky light blue.
    9·2 answers
  • How do u use this app?
    15·2 answers
  • Enter key is also known as Return key. (True or false)
    13·2 answers
  • What is a scenario where records stored in a computer frequently need to be checked
    14·2 answers
  • It is important to know the terms of use of any website because why
    12·2 answers
  • 1. What is material science?
    14·2 answers
  • Please choose the correct option please tell fast​
    9·1 answer
  • What safety do you need to have ready to start a device repair?
    6·1 answer
  • Who benefits the most from billing by the second for cloud resources, such as virtual machines?.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!