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
blagie [28]
3 years ago
13

g Write a function called chain_words(str) which takes in one parameter which is a string that holds multiple words separated by

spaces. Your function should return a string with the words chained together with an - (hyphen). You can first split the words at spaces and then join the words with - (hyphen). You can achieve this by using split and join methods respectively.
Computers and Technology
1 answer:
Oduvanchick [21]3 years ago
7 0

Answer:

Explanation:

The following is written in Python. The function takes in a string as a parameter. It then sperates the string at every space. Then it rejoins the list of strings with hyphens. Finally, returning the newly created string with hyphens.

def chain_words(str):

   string_split = str.split(" ")

   seperator = '-'

   hyphen_string = seperator.join(string_split)

   return hyphen_string

You might be interested in
Drag the tiles to the correct boxes to complete the pairs.
inessss [21]
<h2>Answer:</h2><h2>Releases a new video of its new high - tech manufacturing facility; To create a customer alert about a new program. </h2>

<h2>2)Hosts an online sweepstakes. .....;To increase brand loyalty </h2>

<h2>3)Gives bloggers.....:To give customers a peek into its operation.</h2>

<h2>4)Asks customers to determine their. .....;To allow customers to be part of the product development. </h2>

8 0
4 years ago
In cyberspace, bret attempts to steal consumers' credit card numbers stored in the networked computers of cinco corporation, a f
Mandarinka [93]

The quantity of data that can be stolen is limited by the same physical limits that exist in the real world.

Quantitative data is defined as data that can be measured in numerical values. The two main kinds of quantitative data are discrete data and continuous data. Height in feet, age in years, and weight in pounds are examples of quantitative data. Qualitative data can be described as descriptive data that is not expressed numerically. Data quality means a measure of the condition of data based on factors such as accuracy, completeness, consistency, reliability and whether it's up to date.

You can learn more about the quantitative data at brainly.com/question/96076

#SPJ4

5 0
2 years ago
A defined set of standards that computers must follow in order to communicate properly is known as a
muminat
A defined set of standards that computers must follow in order to communicate properly is known as a communication protocol. The communication protocol is a <span>preexisting agreement that enables computers to exchange information. It defines  how the information will be structured and how each side will send the information. </span>
5 0
4 years ago
Read 2 more answers
How does information technology most benefit people’s personal and professional lives?
ozzi

As many as 79% of employees now “work on virtual teams,” be it by email, online collaboration, messaging, video conferences, or some combination of any of the above. A 2013 Pew Research study found “94% of jobholders are Internet users.” This includes full-time, part-time, and freelance workers in technology companies, big corporations, and small businesses, who work in cities, the suburbs, rural America, and everywhere in between.

For most of the last century, communicating professionally meant writing letters, sending faxes, or spending hours on the phone. Not anymore. Email is now the primary means of communication in the modern workplace. We are communicating more, faster, and better than ever before. And employers have been reaping the benefits. A major report cited by British newspaper The Telegraph found that the incorporation of technology into the workplace has led to an “84% increase in productivity per hour for office workers since the 1970s.” The major influencers? Email, business software, and yes, even cell phones.


3 0
3 years ago
Read 2 more answers
Write a C++ program which accepts the quantity of a product purchased and prints the amount to be paid by the customer.​
NISA [10]

Answer:

firstly the exel program is very useful to costumer or to calculate by Microsoft. People use it to company or office. It works for make good commination

8 0
3 years ago
Other questions:
  • Write a program to help you feed your friends at a party by doing some math about square pizzas. Assume the grader defines a str
    12·1 answer
  • In what way would web-based applications be useful to organizations?
    8·1 answer
  • Define a method printAll() for class PetData that prints output as follows with inputs "Fluffy", 5, and 4444. Hint: Make use of
    10·1 answer
  • Which of the following was the name of the first generation of cell phone networks?
    14·1 answer
  • Which of the following is not one of the Generally Accepted Recordkeeping Principles ("The Principles®")? a. Accountability b. S
    11·1 answer
  • Jane is creating a slide that will have a large heading and number of bullet points below it. What slide format should she use?
    12·1 answer
  • You have just set up a new wireless network at your house, and you want to determine whether your Linux laptop has connected to
    13·1 answer
  • Select three areas that should be included in a contract consultant’s business expense model.
    11·1 answer
  • Can anyone help and write a sample answer to this please x
    7·1 answer
  • Need help with my cs110​
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!