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
Marta_Voda [28]
3 years ago
7

Create a Python program that will produce the following output:

Engineering
1 answer:
Aloiza [94]3 years ago
6 0

Answer:

def main ():

   sentence = input("Please enter a sentence:")

   print("Original Sentence:",sentence)

   # start at the third character

   for i in range(2,  len(sentence), 3):

       # access the string by index  

       print("Every third letter:", sentence[i])

Explanation:

def helps define the sentence ( input)

in order to start printing from third letter we start the range from 2 and keep the step 3 . The range i is in square parenthesis to show the range and access string.

You might be interested in
can someone help me with this engineering mechanics homework, please? I tried to solve it, but I got so confused.​
marishachu [46]

Explanation:

Sum of forces in the x direction:

∑Fx = ma

Rx − 250 N = 0

Rx = 250 N

Sum of forces in the y direction:

∑Fy = ma

Ry − 120 N − 300 N = 0

Ry = 420 N

Sum of forces in the z direction:

∑Fz = ma

Rz − 50 N = 0

Rz = 50 N

Sum of moments about the x axis:

∑τx = Iα

Mx + (-50 N)(0.2 m) + (-120 N)(0.1 m) = 0

Mx = 22 Nm

Sum of moments about the y axis:

∑τy = Iα

My = 0 Nm

Sum of moments about the z axis:

∑τz = Iα

Mz + (250 N)(0.2 m) + (-120 N)(0.16 m) = 0

Mz = -30.8 Nm

6 0
3 years ago
Which of the following is not an electronic device ?
PolarNik [594]

Answer:

B

Explanation:

it's does not transmit any energy

6 0
2 years ago
To assist in completing this question, you may reference the Animated Technique Video - MALDI-TOF Mass Spectroscopy. Complete th
a_sh-v [17]

Complete Question

The complete question is shown on the first uploaded image.

Answer:

The answer is shown on the second uploaded image

Explanation:

The explanation is also shown on the second uploaded image

3 0
3 years ago
Many farms and ranches use electric fences to keep animals from getting into or out of specific pastures. When switched on, an e
Nikolay [14]

Answer:

Aluminum

Explanation:

The best material to use when creating an electric fence would be Aluminum. Aluminum wiring is incredibly durable and can be easily obtained. Since aluminum is a non-magnetic metal its conducting capabilities far exceed other metallic options in the market and is also why companies choose aluminum for their high tension cable wiring. Aside from being more expensive than other feasible options its durability and conducting capabilities make it easily the best option.

7 0
2 years ago
Read 2 more answers
Which website suffixes are usually the least credible? Check all that apply.
zmey [24]
.com hope this helps
7 0
3 years ago
Read 2 more answers
Other questions:
  • Describe the steps, tools, and technology needed in detail and
    12·1 answer
  • Sea X una variable aleatoria con funci´on de densidad
    9·1 answer
  • Give two causes that can result in surface cracking on extruded products.
    11·1 answer
  • 10. To cut 1/4" (6 mm) thick mild steel at a rate of 40 inches per minute, the current would be set to
    7·1 answer
  • Prove the following languages are nonregular, once using the pumping lemma and once using the Myhill-Nerode theorem. When using
    15·1 answer
  • The bulk density of a compacted soil specimen (Gs = 2.70) and its water content are 2060 kg/m^3 and 15.3%, respectively. If the
    5·1 answer
  • TOPO NÀO CÓ CẤU HÌNH ĐA ĐIỂM
    15·2 answers
  • It is an important part of the differential maintenance which purpose is to make smoother the differential operation by lubricat
    10·1 answer
  • fdkgdsvdgvdfgvsdcvbfbfdbvfdbsdvbesgvdslgfkrledmgoskflodjgloerjgvoljgegjp;erorf;wgp;kiaers;ogjo;rhgerjfrejgfdlhodjglodjheihtgo;rg
    13·1 answer
  • Determine the output logic-levels(boolean-levels) for XNOR if the two-inputs are inverted?​
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!