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
Air is to be compressed so that its volume is reduced to half of its original volume if the initial pressure is 200 kPa and the
Alex_Xolod [135]

Answer:

P_{2} = 527.803\,kPa

Explanation:

The politropic relationship for a isentropic process is:

\frac{P_{2}}{P_{1}} = \left(\frac{V_{1}}{V_{2}}  \right)^{\gamma}

Where \gamma is the ratio of specific heats

The final pressure is:

P_{2} = P_{1}\cdot \left(\frac{V_{1}}{V_{2}}\right)^{\gamma}

P_{2} = (200\,kPa)\cdot (2)^{1.4}

P_{2} = 527.803\,kPa

7 0
3 years ago
6. Which of the following is considered a major disqualifying offense?
Shkiper50 [21]
The answer is D hope this helps have a good day !!:)
7 0
3 years ago
Read 2 more answers
What 2 disciplines comprise systems engineering?
kirill [66]

Answer:

Engineering and the Engineering management

Explanation:

Systems engineering is a discovery process that includes managing and designing complex systems to formalize the various new research approach or methods.

It is an interdisciplinary holistic approach or field that is comprised of <u>engineering and the engineering management.</u>

The three types of systems engineering are: Product Systems Engineering, Enterprise Systems Engineering and Service Systems Engineering.

5 0
3 years ago
Sheet metal cutting operation along a straight line between two cutting edges is called Shearing Operation's. a)- True b)-False
AURORKA [14]

Answer: True

Explanation: The process in sheet metal which separates the metal sheet in straight line by cutting is known as shearing operation.The process of shearing is carried out by application of shearing forces on the metal sheet. this operation separates the metal sheet into two parts by the edges. They have the certain limited tolerance. Therefore the given statement in the question is true.

8 0
4 years ago
⚠️Answer needed quick!!⚠️
Allisa [31]

Answer:

A

Explanation:

3 gifts

gift cost = x

$150 total to spend

$60 left after spending

5 0
3 years ago
Other questions:
  • At a high school science fair, Connor won first place for his replica of the Golden Gate Bridge. Connor liked the project so muc
    5·1 answer
  • An ant starts at one edge of a long strip of paper that is 34.2 cm wide. She travels at 1.3 cm/s at an angle of 61◦ with the lon
    10·1 answer
  • An automobile travels along a straight road at 15.65 m/s through a 11.18 m/s speed zone. A police car observed the automobile. A
    9·1 answer
  • 1)A wheel is used to turn a valve stem on a water valve. If the wheel radius is 1 foot and the stem, (axle), radius is .5 inches
    10·1 answer
  • Name four emerging technologies that could significantly impact how the construction industry conducts business.
    12·2 answers
  • Forcing a solid piece of heated aluminum through a die forms:
    15·2 answers
  • When _____ ,the lithium ions are removed from the_____ and added into the _____
    8·1 answer
  • Explain Flags in ARM Processor​
    5·1 answer
  • Aqueous cleaners are ________ parts cleaning agents.
    15·1 answer
  • Which of the given strategies is specifically a competitive advantage sustainment strategy?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!