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
VikaD [51]
3 years ago
13

Write a function named "list_concat" that takes a list of strings as a parameter and returns the concatenation of all the values

in the list as a single string with each value separated by a space. For example, if the input is ["limit", "break", "ready"] the output should be "limit break ready"
Computers and Technology
1 answer:
Marina CMI [18]3 years ago
7 0

Answer:

Following are the program in python language:

def list_concat(ls): #define function

if(len(ls) == 0): #set if condition

return ""

res = ""

for x in ls: #set for loop

res += x + " "

return res[:len(res)-1] #removing the extra spaces from list

ls = ['limit','break','ready'] #initialize the value in list

print(list_concat(ls)) #call the function

Output:

limit break ready

Explanation:

Here we declared a function "list_concat()" in which we pass an argument "ls" then check if condition that check the length of list .We also Iterating  the loop in that function  res[:len(res)-1] statement removes the extra space from the list and finally print the list

You might be interested in
Fill in the blank with the correct response.
SCORPION-xisa [38]
Higher Resolution i guess it depends on what it’s requiring
3 0
3 years ago
The term __________ denotes data that is being stored on devices like a universal serial bus (USB) thumb drive, laptop, server,
kicyunya [14]

Answer:

B. data at rest, data in transit

Explanation:

A database management system (DBMS) can be defined as a collection of software applications that typically enables computer users to effectively and efficiently create, store, modify, retrieve, centralize and manage data or informations in a database. Thus, it allows computer users to efficiently retrieve and manage their data with an appropriate level of security.

Generally, a database management system (DBMS) acts as an intermediary between the physical data files stored on a computer system and any software application or program.

Data at rest refers to a form of data that is stored on devices such as; a universal serial bus (USB) thumb drive, laptop, server, DVD, CD, or server.

Data in transit is simply any data that exists in a mobile or dynamic state on the network, such as data on the Internet, wireless networks, or a private network.

8 0
3 years ago
Why is it important to have regular maintenance and care of your office equipment?
mr Goodwill [35]
It is important to have regular maintenance on office equipment because by having regular maintenance they would be able to determine if a problem is about to occur on the office equipment before it puts the equipment out of commission. This would save money for the office because they would be able to fix the problem cheaper than buying new equipment.
3 0
3 years ago
What is a what if analysis in Excel example?
Sergio039 [100]

Answer:

What-If Analysis in Excel allows you to try out different values (scenarios) for formulas. The following example helps you master what-if analysis quickly and easily.

Assume you own a book store and have 100 books in storage. You sell a certain % for the highest price of $50 and a certain % for the lower price of $20.

(i really hope this is what u needed)

4 0
3 years ago
When creating an excel budget and performing what-if analysis, it is generally easiest to ______.
Rufina [12.5K]

When creating an Excel budget and performing what-if analysis, it is generally easiest to create the budget with a budgeting assumption tab

  • Assumptions in a budget brings about projections by adding one's assumptions to the current data.

  • It is very important to create a budgeting assumptions tab when creating a master budget in microsoft excel because it will simplifies the process of getting how changes to a master budget's main assumptions influences all cornered schedules and the projected financial statements of said firm.

Conclusively we can say that Excel budget and performing what-if analysis produces the budget with a budgeting assumption tab

Learn more from

brainly.com/question/17198039

4 0
2 years ago
Other questions:
  • A computer ____ is the amount of data (measured in bits or bytes) that a cpu can manipulate at one time
    8·1 answer
  • Which examples demonstrate common Network Systems workplaces and employers? Check all that apply.
    13·2 answers
  • A dog walks 10 km north in 2 hours and then 8 km south in 1 hour.
    10·1 answer
  • 1. Provide at least two statements that explain the relationship between the position of the Earth and the seasons.
    15·1 answer
  • Do you need internet to play xbox one
    14·1 answer
  • A tool in Word that creates multiple copies of the same letter, envelope, or label and inserts personalized data is a(n) _____.
    12·1 answer
  • What does hashing mean when it comes to cryptography?
    15·2 answers
  • HELLLP PLEASEEEEEEEEE
    12·1 answer
  • Why is it necessary to have a w-2 or 1099 form when using tax preparation software?
    13·1 answer
  • A(n) Blank______ database model stores data in the form of logically related two-dimensional tables. Multiple choice question. w
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!