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
yanalaym [24]
4 years ago
14

Write a Python program that does the following. Create a string that is a long series of words separated by spaces. The string i

s your own creative choice. It can be names, favorite foods, animals, anything. Just make it up yourself. Do not copy the string from another source. Turn the string into a list of words using split. Delete three words from the list, but delete each one using a different kind of Python operation. Sort the list. Add new words to the list (three or more) using three different kinds of Python operation. Turn the list of words back into a single string using join. Print the string.

Engineering
1 answer:
dybincka [34]4 years ago
4 0

Answer:

The code is attached.

Explanation:

I created a string s including 6 colors with spaces in between. Then I converted the string into a list x by using split() method. I used three different methods for removing elements from the list. These methods are remove(), pop() and del.

\\ Then I used methods append(), insert() and extend() for adding elements to the list.

\\ Finally I converted list into a string using join() and adding space in between the elements of the list.

You might be interested in
A right triangle has a base of 12 inches and a height of 30 inches, what is the centroid of the triangle?​
aliina [53]

Answer:

the correct answer is 42

4 0
3 years ago
If it took 2 hours to clean 4 houses how many houses could be cleaned in 3 hours
Lena [83]

Answer:

6 houses

Explanation:

because

2hrs=4 houses which means you are cleaning 2houses in one hour

so in 3 hours you will houses because you will clean 2 houses in one hour

I hope this helped you sorry if I am wrong

6 0
3 years ago
A fan is to be selected to ventilate a bathroom whose
Kaylis [27]

Answer:

18 000 liters

Explanation:

6 0
4 years ago
The federal highway administration reports nearly
levacccp [35]

Explanation:

The federal highway administration reports nearly 800 work zone fatalities per year.

8 0
3 years ago
Is annealed polycrystalline copper a material that work hardens significantly or a material that exhibits a low work-hardening r
Olegator [25]

Those that harden under strain, such as the aluminum-magnesium alloys used in beverage cans and the copper-zinc alloy, brass, used for cartridges, which show more strain hardening than pure copper or aluminum, respectively.

When a material is deformed under a substantial amount of strain, strain hardening is seen as a strengthening process. Lamellar crystals and chain molecule orientation on a vast scale are the culprits. When plastic materials are stretched past their yield point, this phenomena is frequently seen. When a metal is stretched past its yield point, strain hardening occurs. The metal appears to get stronger and harder to deform as more stress is needed to cause additional plastic deformation. Strain hardening is directly related to fatigue.

Learn more about strain hardening here-

brainly.com/question/15058191

#SPJ4

6 0
1 year ago
Other questions:
  • For the R function shown below(Attachment):
    5·1 answer
  • First person to tell me what this car is gets 10 points
    10·2 answers
  • Argon is compressed in a polytropic process with n = 1.2 from 100 kPa and 30°C to 1200 kPa in a piston–cylinder device. Determin
    14·1 answer
  • Water at atmospheric pressure boils on the surface of a large horizontal copper tube. The heat flux is 90% of the critical value
    11·1 answer
  • Are the wooden pillars shown in the image below, a dead load?
    10·1 answer
  • Which design activity is part of the design for manufacturability (DFM) methodology?
    10·1 answer
  • In multi-grade oil what is W means?
    11·1 answer
  • A___ remote control can be an advantage to an
    14·2 answers
  • A fusible link should be how many wire sizes smaller than the actual circuit wire?
    8·1 answer
  • Rivet gauge, or transverse pitch is the distance between the Group of answer choices heads of rivets in the same row. centers of
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!