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
When preparing a foundation for a heavy duty machine tool, discuss any four (4) statics machine characteristics to be considered
kozerog [31]

Answer:

1 ) Accuracy of the Machine Tool

2) Load bearing capacity

3) Linearity in the product line

4) Torque of the machine

Explanation:

we know that machine tool is the permanent essential in manufacturing industries

it is a machine use for different form like cutting , grinding and boring etc

so 1st is

1 ) Accuracy of the Machine Tool

we know it is very important Characteristic of the machine tool because when we use it in manufacturing unit Accuracy of the Machine Tool should be higher concern

2) Load bearing capacity

we should very careful about Load bearing capacity because how much amount of load tool will bear check by some parameter like creep , shear stress and strength etc

3) Linearity in the product line

Linearity in the product line mean that it should be group of related product produced by the any one of the manufacturer otherwise it will take time or it may be intermixing

4) Torque of the machine

we know that Torque is a rotational force or a turning force so amount of force multiplied by the distance of the operation

and we know torque per second give the power rating of machine tool

5 0
3 years ago
An ideal gas initially at 300 K and 1 bar undergoes a three-step mechanically reversible cycle in a closed system. In step 12, p
Veseljchak [2.6K]

Answer:

Ts =Ta E)- 300(

569.5 K

5

Q12-W12 = -4014.26

Mol

AU2s = Q23= 5601.55

Mol

AUs¡ = Ws¡ = -5601.55

Explanation:

A clear details for the question is also attached.

(b) The P,V and T for state 1,2 and 3

P =1 bar Ti = 300 K and Vi from ideal gas Vi=

10

24.9x10 m

=

P-5 bar

Due to step 12 is isothermal: T1 = T2= 300 K and

VVi24.9 x 10x-4.9 x 10-3 *

The values at 3 calclated by Uing step 3l Adiabatic process

B-P ()

Since step 23 is Isochoric: Va =Vs= 4.99 m* and 7=

14

Ps-1x(4.99 x 103

P-1x(29x 10)

9.49 barr

And Ts =Ta E)- 300(

569.5 K

5

(c) For step 12: Isothermal, Since AT = 0 then AH12 = AU12 = 0 and

Work done for Isotermal process define as

8.314 x 300 In =4014.26

Wi2= RTi ln

mol

And fromn first law of thermodynamic

AU12= W12 +Q12

Q12-W12 = -4014.26

Mol

F'or step 23 Isochoric: AV = 0 Since volume change is zero W23= 0 and

Alls = Cp(L3-12)=5 x 8.311 (569.5 - 300) = 7812.18-

AU23= C (13-72) =5 x 8.314 (569.3 - 300) = 5601.53

Inol

Now from first law of thermodynamic the Q23

AU2s = Q23= 5601.55

Mol

For step 3-1 Adiabatic: Since in this process no heat transfer occur Q31= 0

and

AH

C,(T -Ts)=x 8.314 (300- 569.5)= -7842.18

mol

AU=C, (T¡-T)= x 8.314 (300

-5601.55

569.5)

mol

Now from first law of thermodynamie the Ws1

J

mol

AUs¡ = Ws¡ = -5601.55

3 0
3 years ago
Much of the workd went to bed hungry
Marysya12 [62]
The workers went to bed hungry probably because they are hard workers and so didn’t want to eat because they didn’t want to take break┌(; ̄◇ ̄)┘
7 0
3 years ago
B/ Evaluate e^(πi/2)
ivanzaharov [21]

Explanation:

≈4.8

There really isn't an elegant way to express it. Just plug and chug for irrationals raised to other irrationals.

8 0
2 years ago
Read 2 more answers
Describe the Optical Fiber Network( i need 2 paragraphs, but give me about 5 sentences or like 3)
frez [133]

Answer: Fiber Optic Network Fiber-optic networks have been used for decades to transmit large volumes of traffic across the country. The economics of fiber networks have only recently allowed for connecting the fiber directly to the home, creating a fiber-to-the-home (FTTH) network.

Explanation:

6 0
3 years ago
Read 2 more answers
Other questions:
  • Tech A says that horsepower is a measurement simply of the amount of work being performed. Tech B says that horsepower can be ca
    6·1 answer
  • Write a Python program that does the following. Create a string that is a long series of words separated by spaces. The string i
    14·1 answer
  • Calculate the availability of a system where the mean time between failures is 900 hours and the mean time to repair is 100 hour
    15·1 answer
  • Which of the following should NOT be included in an emergency kit?
    13·2 answers
  • Se requiere un permiso aprobación o restricción contaminante para todos los métodos comerciales de descarga de aguas residuales
    13·1 answer
  • An insulated piston–cylinder device initially contains 1 m3 of air at 120 kPa and 17°C. Air is now heated for 15 min by a 200-W
    7·1 answer
  • What is the function of engineering
    6·1 answer
  • Although many countries have issues with soil erosion due to deforestation, some of the most serious effects are seen
    8·1 answer
  • Similarity of surface<br>and ground<br>waler​
    9·1 answer
  • Which 1 of the following did women NOT do during WWII?
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!