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
Discuss the applications of numerical weather forecasting​
olchik [2.2K]

Numerical weather prediction (NWP) uses mathematical models of the atmosphere and oceans to predict the weather based on current weather conditions. Though first attempted in the 1920s, it was not until the advent of computer simulation in the 1950s that numerical weather predictions produced realistic results. A number of global and regional forecast models are run in different countries worldwide, using current weather observations relayed from radiosondes, weather satellites and other observing systems as inputs.
3 0
3 years ago
Two small balls A and B with masses 2m and m respectively are released from rest at a height h above the ground. Neglecting air
statuscvo [17]

Answer:

The kinetic energy of A is twice the kinetic energy of B

Explanation:

5 0
3 years ago
Expalin the application of diesel cycle in detail.
mars1129 [50]

Explanation:

Diesel cycle:

        All diesel engine work on diesel cycle .In diesel cycle there are four process .These processes are as follows

1. Adiabatic reversible compression

2.Heat addition at constant pressure

3.Adiabatic reversible expansion

4.Constant volume heat rejection

In general compression ratio in diesel engine is high as compare to petrol engine.But the efficiency of diesel cycle is less as compare to petrol cycle for same compression ratio.

Applications of diesel cycle:

Generally diesel cycle used for heavy vehicle or equipment because heavy vehicle or equipment is required high initial torque.So this cycle have lots of applications such as in industrial machining,in trucks,power plant,in mining ,in defense or military,large motors ,compressor and pump etc.

   

5 0
3 years ago
A cylindrical metal specimen having an original diameter of 12.8 mm and gauge length of 50.80 mm is pulled in tension until frac
Sedaia [141]

Answer:

%Reduction in area = 73.41%

%Reduction in elongation = 42.20%

Explanation:

Given

Original diameter = 12.8 mm

Gauge length = 50.80mm

Diameter at the point of fracture = 6.60 mm (0.260 in.)

Fractured gauge length = 72.14 mm.

%Reduction in Area is given as:

((do/2)² - (d1/2)²)/(do/2)²

Calculating percent reduction in area

do = 12.8mm, d1 = 6.6mm

So,

%RA = ((12.8/2)² - 6.6/2)²)/(12.8/2)²

%RA = 0.734130859375

%RA = 73.41%

Calculating percent reduction in elongation

%Reduction in elongation is given as:

((do) - (d1))/(d1)

do = 72.14mm, d1 = 50.80mm

So,

%RA = ((72.24) - (50.80))/(50.80)

%RA = 0.422047244094488

%RA = 42.20%

3 0
3 years ago
Should the ship breaking business continue why or why not?
Dmitry [639]

Answer:

Ship-breaking or ship demolition is a type of ship disposal involving the breaking up of ships for either a source of parts, which can be sold for re-use, or for the extraction of raw materials, chiefly scrap. It may also be known as ship dismantling, ship cracking, or ship recycling. Modern ships have a lifespan of 25 to 30 years before corrosion, metal fatigue and a lack of parts render them uneconomical to operate.[1] Ship-breaking allows the materials from the ship, especially steel, to be recycled and made into new products. This lowers the demand for mined iron ore and reduces energy use in the steel making process. Fixtures and other equipment on board the vessels can also be reused. While ship-breaking is sustainable, there are concerns about the use of poorer countries without stringent environmental legislation. It is also labor-intensive, and considered one of the world's most dangerous industries.[2]

In 2012, roughly 1,250 ocean ships were broken down, and their average age was 26 years.[3][4] In 2013, the world total of demolished ships amounted to 29,052,000 tonnes, 92% of which were demolished in Asia. As of January 2020, India has the largest global share at 30%;[5] followed by Bangladesh, China and Pakistan.[6] Alang, India currently has the world's largest ship graveyard,[5] followed by Chittagong Ship Breaking Yard in Bangladesh and Gadani in Pakistan.[6]

The largest sources of ships are states of China, Greece and Germany respectively, although there is a greater variation in the source of carriers versus their disposal.[7] The ship-breaking yards of India, Bangladesh, China and Pakistan employ 225,000 workers as well as providing many indirect jobs. In Bangladesh, the recycled steel covers 20% of the country's needs and in India it is almost 10%.[8]

As an alternative to ship-breaking, ships may be sunk to create artificial reefs after legally-mandated removal of hazardous materials, or sunk in deep ocean waters. Storage is a viable temporary option, whether on land or afloat, though all ships will be eventually scrapped, sunk, or preserved for museums.

6 0
3 years ago
Other questions:
  • To unload a bound stack of plywood from a truck, the driver first tilts the bed of the truck and then accelerates from rest. Kno
    7·1 answer
  • These tadpoles are confined to a limited environment. What are they all competing for in that environment
    12·2 answers
  • Assuming the point estimate in Problem 6.36 is the true population parameter, what is the probability that a particular assay, w
    15·1 answer
  • I need solution for this question please ​
    7·2 answers
  • Which of the following is an example of an iterative process?
    12·1 answer
  • Compare the tensile load capacity of a 5/16-18 UNC thread and a 5/16-24 UNF thread made of the same material.
    6·1 answer
  • when a metal, such as lead, is oxidied (loses electrons) to form a positive ion (cation), how does he solubility change?
    14·1 answer
  • The costs of mining and transporting coal are roughly independent of the heating value of the coal. Consider:
    15·1 answer
  • Choose the three questions that an engineer should ask himself or herself when identifying the need of a problem.
    6·2 answers
  • Which alpha-numeric designator, systematically assigned at the time of manufacture, identifies the manufacturer, month, year, lo
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!