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
Slovee plz asap<br> pzllzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
Triss [41]

Answer:

can you zoom in

Explanation:

4 0
3 years ago
Read 2 more answers
A budding electronics hobbyist wants to make a simple 1.0-nF capacitor for tuning her crystal radio, using two sheets of aluminu
bazaltina [42]

Answer:

a. 8 sheets of paper is needed between her plates to get the proper capacitance

b. Area of Aluminum Foil needed = 0.45m²

c. To keep a 1.0-nF, a larger area of Teflon is required.

Explanation:

a.

First, we need to calculate the distance between two plates.

This is given by

d = Kε0A/C

Where

K = 3

ε0 = Physical Constant = 8.854 * 10^-12 C²/Nm²

A = Area = 22 * 28 = 616cm² = 0.0616m²

C = 1.0-nF = 1 * 10^-12F

So, d = (3 * 8.854 * 10^-12 C²/Nm² * 0.0616) / (1 * 10^-12F)

d = 1.64 * 10^-3m

d = 1.64mm

Now, that the distance has been solved.

The Number of Sheets, N is given by

N = d/d,sheet where d, sheet =the sheet thickness = 0.2mm

N = 1.64/0.2

N = 8.2

N = 8 sheets --- Approximated

b.

Here, she's changed the diameter of the sheets to 12mm

Well make use of the formula in (a) above

Using d = Kε0A/C

Where

d = 12 * 10^-3m

Other constraints remain unchanged

Make A the subject of formula

A = dC/Kε0

A = (12 * 10^-3m * 1 * 10^-12F)/(3 * 8.854 * 10^-12 C²/Nm²)

A= 0.45m²

c. From (b) above

A ∝ 1/K

As the dielectric constant increase, the area decreases

The dielectric constant of a Teflon is 2.1

This means that if she used a Teflon instead, the area will be larger.

So, to keep a 1.0-nF, a larger area of Teflon is required.

7 0
4 years ago
A Si sample contains 1016 cm-3 In acceptor atoms and a certain number of shallow donors, the In acceptor level is 0.16 eV above
creativ13 [48]

Answer:

6.5 × 10¹⁵/ cm³

Explanation:

Thinking process:

The relation N_{o} = N_{i} * \frac{E_{f}-E_{i}  }{KT}

With the expression Ef - Ei = 0.36 × 1.6 × 10⁻¹⁹

and ni = 1.5 × 10¹⁰

Temperature, T = 300 K

K = 1.38 × 10⁻²³

This generates N₀ = 1.654 × 10¹⁶ per cube

Now, there are 10¹⁶ per cubic centimeter

Hence, N_{d}  = 1.65*10^{16}  - 10^{16} \\           = 6.5 * 10^{15} per cm cube

5 0
3 years ago
Read 2 more answers
A(n) ____________________ measures the resistance to current flow in a circuit.
yulyashka [42]

Answer: OHMMETER & MEGOHMMETER:

Explanation: The ohmmeter measures circuit resistance; the megohmmeter measures the high resistance of insulation. A meter used to measure electric current. It is connected as part of a circuit.

6 0
3 years ago
What is the focus of 7th grade civics
Jobisdone [24]
C. seems like the best answer. i may be wrong so don’t quote me on that
7 0
3 years ago
Read 2 more answers
Other questions:
  • How is the foundation for a skyscraper different from a house?
    5·1 answer
  • Does the Diesel engine have engine knock or detonation problem? Why?
    6·1 answer
  • A 20 dBm power source is connected to the input of a directional coupler having a coupling factor of 20 dB, a directivity of 35
    8·1 answer
  • What does this middle button on the middle of my Chevrolet equinox steering wheel mean?
    12·2 answers
  • The thrust F of a screw propeller is known to depend upon the diameter d,speed of advance \nu ,fluid density p, revolution per s
    6·1 answer
  • Que a state properties of Sounds ] 1 laws of replactions of light 2 2​
    7·1 answer
  • D. projectile
    13·1 answer
  • A stainless steel ball (=8055 kg/m3, Cp= 480 J/kgK) of diameter D =15 cm is removed from theoven at a uniform temperature of 3
    13·1 answer
  • How do I solve this ?
    8·1 answer
  • The product of two factors is 4,500. If one of the factors is 90, which is the other factor?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!