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
stepladder [879]
3 years ago
7

python Write a program that takes a date as input and outputs the date's season. The input is a string to represent the month an

d an int to represent the day.
Engineering
1 answer:
kupik [55]3 years ago
4 0

Answer:

month = input("Input the month (e.g. January, February etc.): ")

day = int(input("Input the day: "))

if month in ('January', 'February', 'March'):

season = 'winter'

elif month in ('April', 'May', 'June'):

season = 'spring'

elif month in ('July', 'August', 'September'):

season = 'summer'

else:

season = 'autumn'

if (month == 'March') and (day > 19):

season = 'spring'

elif (month == 'June') and (day > 20):

season = 'summer'

elif (month == 'September') and (day > 21):

season = 'autumn'

elif (month == 'December') and (day > 20):

season = 'winter'

print("Season is",season)

Explanation:

You might be interested in
A displacement transducer has the following specifications: Linearity error ± 0.25% reading Drift ± 0.05%/○C reading Sensitivity
White raven [17]

Answer:

The Estimated uncertainty in a nominal displacement of 2 cm at the design stage is plus or minus 0.0124cm

Explanation:

uncertainty in a nominal displacement

= (u^2 + v^2)^(1/2)

assume from specifications that k = 5v/5cm

                                                         = 1v/cm

u^2 = (0.0025*2)^(2) + (0.005*10*2)^2 + (0.0025*2)^2

      = 0.01225v

v = 2v * 0.001

  = 0.002v

uncertainty in a nominal displacement

= (u^2 + v^2)^(1/2)

= ((0.01225)^2 + (0.002)^2)^(1/2)

= 0.0124 cm

Therefore, The Estimated uncertainty in a nominal displacement of 2 cm at the design stage is plus or minus 0.0124cm

8 0
3 years ago
From the following numbered list of characteristics, decide which pertain to (a) precipitation hardening, and which are displaye
Blababa [14]

Answer:

(a) Precipitation hardening

(1) The strengthening mechanism involves the hindering of dislocation motion by precipitates/particles.

(2) The hardening/strengthening effect is not retained at elevated temperatures for this process.

(4) The strength is developed by a heat treatment.  

(b) Dispersion strengthening

(1) The strengthening mechanism involves the hindering of dislocation motion by precipitates/particles.  

(3) The hardening/strengthening effect is retained at elevated temperatures for this process.

(5) The strength is developed without a heat treatment.  

7 0
3 years ago
Why or why not the following materials will make good candidates for the construction of
zvonat [6]

Answer:

Answer explained below

Explanation:

3.] a] A turbine blade is the individual component which makes up the turbine section of a gas turbine. The blades are responsible for extracting energy from the high temperature, high pressure gas produced by the combustor.

The turbine blades are often the limiting component of gas turbines. To survive in this difficult environment, turbine blades often use exotic materials like superalloys and many different methods of cooling, such as internal air channels, boundary layer cooling, and thermal barrier coatings. The blade fatigue failure is one of the major source of outages in any steam turbines and gas turbines which is due to high dynamic stresses caused by blade vibration and resonance within the operating range of machinery.

To protect blades from these high dynamic stresses, friction dampers are used.

b] Thermal barrier coatings (TBC) are highly advanced materials systems usually applied to metallic surfaces, such as on gas turbine or aero-engine parts, operating at elevated temperatures, as a form ofexhaust heat management.

These 100μm to 2mm coatings serve to insulate components from large and prolonged heat loads by utilizing thermally insulating materials which can sustain an appreciable temperature difference between the load-bearing alloys and the coating surface.

In doing so, these coatings can allow for higher operating temperatures while limiting the thermal exposure of structural components, extending part life by reducing oxidation and thermal fatigue.

In conjunction with active film cooling, TBCs permit working fluid temperatures higher than the melting point of the metal airfoil in some turbine applications.

Due to increasing demand for higher engine operation (efficiency increases at higher temperatures), better durability/lifetime, and thinner coatings to reduce parasitic weight for rotating/moving components, there is great motivation to develop new and advanced TBCs.

3 0
3 years ago
What kind of energy transformation happens when a boy uses energy from a sandwich to run a race​
Semmy [17]
A boy eat a energy of a sandwich to run a race because when they eat a sandwich it helps them to help it mid workout and real nutritions of NYC and bring extra fuel and eating the right thing
I hope this help
4 0
3 years ago
Read 2 more answers
You should use the pass technique a fire extinguisher
PilotLPTM [1.2K]

Answer:

Yes

Explanation:

8 0
3 years ago
Other questions:
  • According to Manor, the example of the subway train in New York City is an example of which type of uniqueness?
    9·1 answer
  • Sed is a multipurpose tool that combines the work of several filters. sed performs noninteractive operations on a data stream. s
    12·1 answer
  • g A plane stress element has components sigma x = 160 MPa, tau xy = 100 MPa (CW). Determine the two values pf sigma y for which
    13·1 answer
  • Air at 2.5 bar, 400 K is extracted from a main jet engine compressor for cabin cooling. The extracted air enters a heat exchange
    14·2 answers
  • A mechanical system comprises three subsystems in series with reliabilities of 98, 96, and 94 percent. What is the overall relia
    10·1 answer
  • I need this asap thank you :) plzzzzz When the spring on a mousetrap car is fully unwound, the force acting on the car is _____.
    11·1 answer
  • 11. Technicians A and B are discussing
    12·1 answer
  • A(94,0,14) B(52,56,94) C(10,6,48) D(128,64,10)
    6·1 answer
  • Engineers designed a motorcycle helmet from a long-lasting and safe material that protects the wearer from accidents and excessi
    7·1 answer
  • Which level of acceleration should you use when accelerating on a short highway entry ramp?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!