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
Basile [38]
2 years ago
5

A tape dispenser example which simple machine

Computers and Technology
1 answer:
nirvana33 [79]2 years ago
8 0
Your question makes no sense. Please retype it.
You might be interested in
#Write a function called "replace_all" that accepts three #arguments: # # - target_string, a string in which to search. # - find
gulaghasi [49]

Answer:

Here is the function replace_all:

def replace_all(target_string,find_string,replace_string):

   result_string = replace_string.join(target_string.split(find_string))  

   return result_string

#if you want to see the working of this function then you can call this function using the following statements:

target_string = "In case I don't see ya, good afternoon, good evening, and good night!"

find_string = "good"

replace_string = "bad"

print(replace_all(target_string, find_string, replace_string)

Explanation:

The above program has a function called replace_all that accepts three arguments i.e target_string, a string in which to search ,find_string, a string to search for and replace_string, a string to use to replace every instance of the value of find_string. The function has the following statement:

replace_string.join(target_string.split(find_string))  

split() method in the above statement is splits or breaks the target_string in to a list of strings based on find_string. Here find_string is passed to split() method as a parameter which works as a separator. For example above:

target_string = In case I don't see ya, good afternoon, good evening, and good night!

find_string = good

After using target_string.split(find_string) we get:

["In case I don't see ya, ", ' afternoon, ', ' evening, and ', ' night']

Next join() method is used to return a string concatenated with the elements of target_string.split(find_string). Here join takes the list ["In case I don't see ya, ", ' afternoon, ', ' evening, and ', ' night'] as parameter and joins elements of this list by 'bad'.

replace_string = bad

After using replace_string.join(target_string.split(find_string))  we get:

In case I don't see ya, bad afternoon, bad evening, and bad night!  

The program and output is attached as a screenshot.

7 0
3 years ago
Casey, a woodworker, is developing his own website. He plans to use the site as a means of selling his handmade furniture. While
dybincka [34]

Answer:

Primary information

Explanation:

There are three types of information, they are; primary, secondary and tertiary information.

Primary information is called direct sources of information since they are gotten from originally written materials like research journals, diaries, poems, surveys, interviews, etc.

Secondary information like textbooks, encyclopedias, dictionaries, and book reviews describes and analyzes primary information.

Tertiary information is a platform that holds both the primary and secondary information.

6 0
3 years ago
How to get this on your screen in 2k20 on Xbox
MrMuchimi
D pad hope this helps
6 0
3 years ago
Read 2 more answers
Which of the following correctly orders the units of measure from least to greatest?
gulaghasi [49]

Answer:

A.) Cup, Pint, Quart, Gallon

Explanation:

6 0
3 years ago
Read 2 more answers
How many bits would be needed to count all of the students in class today?There are 25 in class
monitta

Answer:

50?

Explanation:

8 0
3 years ago
Read 2 more answers
Other questions:
  • 5. Tricks of the language commercials use are called Rhetorical Devices?
    9·1 answer
  • The following algorithm computes the average height for a list of basketball player heights. Initialize a variable sum to 0. For
    11·2 answers
  • Which speaker port should you use when connecting a single speaker to a pc?
    6·1 answer
  • It is illegal to have __________ emergency lights on your vehicle.
    6·2 answers
  • After a chart has been inserted and formatted, is it possible to change the data range it refers to or to add new rows of data?
    14·1 answer
  • What is the reasoning you would write an inquiry to a company?
    5·2 answers
  • 7.5 Code practice Plz answer ASAP
    15·1 answer
  • A blogger writes that the new "U-Phone" is superior to any other on the market. Before buying the U-Phone based on this review,
    7·2 answers
  • Design algorithm and the corresponding flow chart for adding the subject score of 5, total value and rank.​
    14·1 answer
  • Write a program that accepts the lengths of three sides of a triangle as inputs. the program output should indicate whether or n
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!