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
A school is playing $0.XY per kWh for electric power. To reduce its power bill, the school installs a wind turbine with a rated
Semmy [17]

Answer: Your question has some missing figures so kindly plug in the values into the solution provided to get the exact amount of money saved

answer : Electric power generated = 216 * 10^6 kJ

             money saved = $0.XY * 60000 kwh

Explanation:

<u>Calculating  the amount of electric power generated by wind turbine</u>

power generated = ( 30 * 2000 ) kWh  = 60000 kWh

Electric energy generated = 60000 kWh * 3600 kJ = 216 * 10^6 kJ

<u>Calculate money saved by school per year </u>

$0.XY * 60000 kwh

5 0
2 years ago
Q.14
Kay [80]

Answer:

A. optical isolation

Explanation:

well I can't really give a good explanation because I also saw the same question in my exams and option A was the correct answer

6 0
3 years ago
The Energy Losses Associated with Valves and Fittings: a)- are generally associated with a K factor b)- are generally associated
madam [21]

Answer:

a)Are generally associated with factor.

Explanation:

We know that losses are two types

1.Major loss  :Due to friction of pipe surface

2.Minor loss  :Due to change in the direction of flow

As we know that when any hindrance is produced during the flow of fluid then it leads to generate the energy losses.If flow is along uniform diameter pipe then there will not be any loss but if any valve and fitting placed is the path of fluid flow due to this direction of fluid flow changes and  it produce losses in the energy.

Lot' of experimental data tell us that loss in the energy due to valve and fitting are generally associated with K factor.These losses are given as

Losses=K\dfrac{V^2}{2g}

8 0
3 years ago
When you multiply monomials with the same variables, you multiply the coefficients and add the exponents!
RideAnS [48]

Answer: ok

Explanation:

this isn't a question?

3 0
2 years ago
n the Spring of 2015, three utility companies in the Ukraine received email purporting to come from Ukraine's parliament, the Ra
Tresset [83]

Answer:

Trojan horse

Explanation:

A trojan horse attack is a type of malware that misleads users, as it appears unsuspicious at first, but actually presents a threat to the user. A common example is that of an email that contains a malicious attachment. Another common example is that of a fake advertisement. The name comes from the Greek story of the Trojan horse that led to the fall of the city of Troy.

5 0
3 years ago
Other questions:
  • Question 54 (1 point)
    11·2 answers
  • How to identify this fossil
    9·1 answer
  • Define coordination number. How does this differ from atomic packing factor?
    7·1 answer
  • Write Python expressions using s1, s2, and s3 and operators and * that evaluate to: (a) 'ant bat cod'
    14·1 answer
  • A microwave transmitter has an output of 0.1 W at 2 GHz. Assume that this transmitter is used in a microwave communication syste
    8·1 answer
  • An undeformed specimen of some alloy has an average grain diameter of 0.050 mm. You are asked to reduce its average grain diamet
    11·1 answer
  • (a) Sabbir usually (sit)______ in the front bench.
    13·1 answer
  • Parting tool purpose
    13·1 answer
  • Why do stores still sell those 1.5 volt batteries that are like three times the size of other 1.5 volt batteries. What is the po
    9·2 answers
  • Need help coding this i’m using python.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!