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]
3 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]3 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
Pick a subjectarea/field/topic that you are interested in. For each of the following Bonham- Carver uses of GIS give an example
Vanyuwa [196]

Answer:

I hope following attachment will help you a lot!

Explanation:

3 0
3 years ago
The lattice constant of a simple cubic primitive cell is 5.28 Å. Determine the distancebetween the nearest parallel ( a ) (100),
skelet666 [1.2K]

Answer:

a)5.28 Å , b)3.73 Å , c)3.048 Å

Explanation:

the atoms are situated only at the corners of cube.Each and every atom in simple cubic primitive at the corner is shared with 8 adjacent unit cells.

Therefore, a particular unit cell consist only 1/8th part of an atom.

The lattice constant of a simple cubic primitive cell is 5.28 Å

We know formula of distance,

d = \frac{a}{\sqrt{h^{2}+k^{2}+l^{2}}}

a)(100)

a=5.28 Å

Distance = \frac{5.28 Å}{\sqrt{1^{2}+0^{2}+0^{2}}}=5.28 Å

b)(110)

Distance = \frac{5.28}{\sqrt{1^{2}+1^{2}+0^{2}}} = 3.73 Å

c)(111)

Distance= \frac{5.28}{\sqrt{1^{2}+1^{2}+1^{2}}}= 3.048 Å

6 0
3 years ago
It is not a practical proposition to take direct measurements in nanoscale, but we can estimate variations in position and momen
Volgvan

Answer:

Answer is c Heisenberg's uncertainty principle

Explanation:

According to Heisenberg's uncertainty principle there is always an inherent uncertainty in measuring the position and momentum of a particle simultaneously.

Mathematically

\Delta x\times \Delta \overrightarrow{p}\geq \frac{h}{4\pi }

here 'h' is planck's constant

7 0
3 years ago
1. Under what conditions can soils be chemically stabilized?
marshall27 [118]

Answer:

All will be Explained below.

Explanation:

1) Under which Condition can a soil be chemically Stabilize.

Answer

a). Plasticity Index :A soil with a high value of plasticity Index is not good for various engineering projects. The introduction of line helps in reducing plasticity due cation exchange reaction.Pozzolanic reaction over time reduces plasticity and increase index strength due to the formation of calcium - silicate hydrate.

7 0
3 years ago
Many companies are combining their online business activities with an existing physical presence. In about 100 words, explain wh
Daniel [21]

Answer:

Companies are combining their online business activities with their existing physical presence in order to lower costs of their operations. When both these things are combined labor costs are reduced because with online presence the company has to have limited number of branches, inventory costs are reduced because additional inventories for every physical outlet is not required and delivery costs are reduced because now company don't have to supply the things to all the outlets on regular basis.

Trust of the people is also improved because mostly people are reluctant to order from the brands that only have their online store and donot have any physical presence. Value added services are provided by a company who have both online and offline presence like home delivery and customized offerings.

 

3 0
3 years ago
Other questions:
  • Explain what entropy is in relation to the second law of thermodynamics?
    9·1 answer
  • An op-amp is connected in an inverting configuration with R1 = 1kW and R2 = 10kW, and a load resistor connected at the output, R
    9·1 answer
  • The Emergency Stop Button icon on the Inputs toolbar can be used to press or release the Emergency Stop button on the CNC machin
    10·1 answer
  • Blank Complete the following paragraph pertaining to the popular audio file formats.
    7·2 answers
  • What are the basic parts of a radio system
    15·1 answer
  • Calculate the equivalent capacitance of the three series capacitors in Figure 12-1
    5·1 answer
  • Explain the differences among sand, silt, and clay, both in their physical characteristics and their behavior in relation to bui
    15·1 answer
  • Discuss the ethics of the circumstances that resulted in the Columbia shuttle disaster. Considering the predictions that were ma
    5·1 answer
  • 10. Identify one material we Mine and what we make with that material
    6·1 answer
  • Why is recycling important
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!