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
kogti [31]
4 years ago
10

Write a function named word_count that accepts a string as its parameter and returns the number of words in the string. A word i

s a sequence of one or more non-space characters (any character other than ' ').
Computers and Technology
1 answer:
Hatshy [7]4 years ago
4 0

Answer:

def word_count(words):

   return len(words.split(" "))

print(word_count("This is Python."))

Explanation:

*The code is in Python.

Create a function called word_count that takes one parameter, words

Split the words using split function, use " " for the delimiter, and return the length of this using len function.

Note that split function will give you a list of strings that are written with a space in the words. The len function will just give you the length of this list.

Call the word_count function with a string parameter and print the result.

You might be interested in
What is technology? *
natta225 [31]

Answer: All of the above is the answer

4 0
3 years ago
4.<br>d)<br>2 X 4<br>272 253<br>X Х<br>32 59<br>Х<br>3​
lawyer [7]

Answer:

idk what we are multipyling

Explanation:

please write out clearly so I can solve

6 0
3 years ago
A customer has a system with a Gigabyte B450 Aorus Pro motherboard. He wants to upgrade the processor from the AMD Athlon X4,950
Alenkinab [10]

Answer:

The upgrade is possible and will yield a significant increase in performance.

Explanation:

Computer systems comprises of software and hardware components. The software components of a computer are the instruction sets or programs used to control the hardware components. The hardware components are the physical parts of a computer.

The motherboard is a circuitry that connects all hardware components of the system. The CPU is the brain of the system. It must be compatible with the motherboard, else the motherboard and CPU will be damaged.

The AMD X4950 and AMD Ryzen 72700X processor are compatible with the the B450 Aorus Pro motherboard, and with the later CPU faster than the former, an upgrade increases performance.

7 0
3 years ago
Discuss whether design considerations need to change for each kind of computer users. support your answer with an example.
vaieri [72.5K]
Each kind of computer users have different knowledge, needs and requirements. For example there is a difference between the computer knowledge of developers and users without <span>technical experience. Because of this, but also why they need and use computers, and what tools they need, design consideration need to change for each kind of computer users.</span>
<span>
</span>
8 0
4 years ago
A DTP firm has published and printed flyers for an upcoming fundraising event. In which section of the flyer would you find the
QveST [7]
The Contact Details of the DTP firm would usually be found at the bottom of the flyer, to give way to the event to be advertised on the top and the middle of the flyer.
6 0
4 years ago
Other questions:
  • When creating wireframe geometry and the autocursor is on what happens when you push the shift key?
    13·1 answer
  • After a worksheet has been displayed in page layout view, page breaks are indicated by ________ in normal view.
    14·1 answer
  • Sending an e-mail message to customers or potential customers of a legitimate website asking them to click a link that leads to
    10·1 answer
  • Which of the following is not a major reason for an email bounce?
    8·1 answer
  • Which of the following occurs when the amount of money earned is greater than the
    5·1 answer
  • When you select an object in the Visual Studio Designer, the object's size, color, text, and other characteristics are displayed
    7·1 answer
  • Write a complete method from the client perspective that duplicates each element in place in a ListInterface object. For example
    8·1 answer
  • What do you do when ur grounded from all electronics and can't go outside and have t clean all day
    10·1 answer
  • Jane wants to type a math assignment involving percentages she wants to insert the percent symbol after typing a number which ke
    10·1 answer
  • Select the correct answer.
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!