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
Compute L, T, M, LC, and R and stations of the BC and EC for the circular curve with the given data of: I (delta) = 22°15′00" an
Mars2501 [29]

Answer:

L = 475.718

T = 240.89 ft

M = 23.0195

LC = 472.728

R = 1225 ft

Explanation:

See the attached file for the calculation.

8 0
3 years ago
The purification of hydrogen gas is possible by diffusion through a thin palladium sheet. Calculate the number of kilograms of h
gtnhenbr [62]

Answer: 5.36×10-3kg/h

Where 10-3 is 10 exponential 3 or 10 raised to the power of -3.

Explanation:using the formula

M =JAt = -DAt×Dc/Dx

Where D is change in the respective variables. Insulting the values we get,

=5.1 × 10-8 × 0.13 × 3600 × 2.9 × 0.31 / 4×10-3.

=5.36×10-3kg/h

6 0
3 years ago
On the pavement indicate that the adjacent lane is traveling in the same direction and passing is permitted
Mkey [24]

A broken yellow line on the pavement tells that the adjacent lane is traveling in the opposite direction and passing is permitted.

A broken white line on the pavement show that the adjacent lane is traveling in the same direction and passing is permitted.

<h3>What does pavement markings show?</h3>

Pavement markings are known to be tools that are used to pass infor or messages to roadway users.

Note  that they tell the part of the road that one need to use, give information about conditions ahead, and others

Note that A broken yellow line on the pavement tells that the adjacent lane is traveling in the opposite direction and passing is permitted.

Learn more about pavement markings from

brainly.com/question/10179521

#SPJ1

6 0
2 years ago
A coil with an average diameter of 5 inch will have an area of ""blank"" square meters
nadezda [96]

Answer:

19.64 square inches

Explanation:

Area will be (¶d^2)/4

= (3.142 x 5^2)/4

= 19.64 square inches

8 0
3 years ago
Explain how use of EGR is effective in reducing NOx emissions 4. In most locations throughout the U.S., the octane number of reg
TiliK225 [7]

Answer:please see attached file

Explanation:

3 0
4 years ago
Other questions:
  • An object whose mass is 251 kg is located at an elevation of 24 m above the surface of the earth. For g-9.78 ms, determine the g
    5·1 answer
  • An important ethical concern for behavior analysts involves special cautions in interactions with a client in any capacity outsi
    5·1 answer
  • A bar having a length of 5 in. and cross-sectional area of 0. 7 in.2 is subjected to an axial force of 8000 lb. If the bar stret
    9·1 answer
  • What are the units or dimensions of the shear rate dv/dy (English units)? Then, what are the dimensions of the shear stress τ= μ
    14·1 answer
  • The design for a new cementless hip implant is to be studied using an instrumented implant and a fixed simulated femur.
    11·1 answer
  • Two parts are to be assembled in a way that if one part fails, the entire assembly fails. Each of the parts have undergone exten
    15·1 answer
  • The point in an electrical circuit that is connected to the negative side of a power supply is called what?
    8·1 answer
  • In order to fill a tank of 1000 liter volume to a pressure of 10 atm at 298K, an 11.5Kg of the gas is required. How many moles o
    11·1 answer
  • Typical noise associated with failed cv joint​
    14·1 answer
  • Please help I am give brainiliest
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!