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 cantilever beam of length L = 70 in is made from two side-by-side structural-steel channels of size 3 in weighing 5.0 lbf/ft.
natali 33 [55]

Answer:

of 5 lb/ft and a concentrated service live load at midspan. .... length = 12 feet) to support a uniformly distributed load. Taking ... w 7..'{ 'f.- ~ s-·. 344 ft-kip. Fy : s-o ks I. 299 ft-kip. Li.. ::::- I 2.. }-t-. 150 ft-kip ..... The concrete and reinforcing steel properties are ... Neglecting beam self-weight . and based only on the ...... JI : Lf, 2. l.. ;VI.

Explanation:

6 0
3 years ago
True or false tensile forces are smaller in arch bridges
Ivan

Answer:

True

Explanation:

The tensile forces are small in most arches and usually negligible.

4 0
2 years ago
True or false. Part of the mission of the NTSB is to determine the probable cause of an accident
eimsori [14]

uniform

welcome 2 Ghana African state western region

6 0
3 years ago
**Please Help. ASAP**
natima [27]

Answer:

The answer is below

Explanation:

1)

\frac{v-u}{a} =t\\\\Making \ v\ the \ subject\ of\ formula:\\\\First \ cross-multiply:\\\\v-u=at\\\\add\ u\ to \ both\ sides:\\\\v-u+u=at+u\\\\v=u+at

2)

\frac{y-x^2}{x}=3z\\ \\Making\ y\ the\ subject\ of\ formula:\\\\First \ cross \ multiply:\\\\y-x^2=3xz\\\\y=3xz+x^2\\\\y=x(x+3z)

3)

x+xy=y\\\\Making\ x\ the\ subject\ of\ formula:\\\\x(1+y)=y\\\\Divide\ through\ by\ 1+y\\\\\frac{x(1+y)}{1+y} =\frac{y}{1+y} \\\\x=\frac{y}{1+y}

4)

x+y=xy\\\\Making\ x\ the\ subject\ of\ formula:\\\\Subtract\ x\ from \ both\ sides:\\\\x+y-x=xy-x\\\\y=xy-x\\\\y=x(y-1)\\\\Divide\ through\ by \ y-1\\\\\frac{y}{y-1} =\frac{x(y-1)}{y-1}\\ \\x=\frac{y}{y-1}

5)

x=y+xy\\\\Making\ x\ the\ subject\ of\ formula:\\\\Subtract\ xy\ from \ both\ sides:\\\\x-xy=y+xy-xy\\\\x-xy=y\\\\x(1-y)=y\\\\Divide\ through\ by \ 1-y\\\\\frac{x(1-y)}{1-y} =\frac{y}{1-y}\\ \\x=\frac{y}{1-y}

6)

E=\frac{1}{2}mv^2-\frac{1}{2}mu^2\\  \\Making\ u\ the\ subject \ of\ formula:\\\\Multiply \ through\ by \ 2\\\\2E=mv^2-mu^2\\\\mu^2=mv^2-2E\\\\Divide\ through\ by\ m:\\\\u^2=\frac{mv^2-2E}{m}\\ \\Take\ square\ root\ of \ both\ sides:\\\\u=\sqrt{\frac{mv^2-2E}{m}}

7)

\frac{x^2}{a^2}-\frac{y^2}{b^2}=1\\  \\Making\ y\ the\ subject \ of\ formula:\\\\\frac{x^2}{a^2}-1=\frac{y^2}{b^2}\\\\Multiply\ through\ by\ b^2\\\\b^2(\frac{x^2}{a^2} -1)=y^2\\\\Take\ square\ root\ of\ both\ sides:\\\\y=\sqrt{b^2(\frac{x^2}{a^2} -1)}

8)

ay^2=x^3\\\\Make\ y\ the\ subject\ of\ formula:\\\\Divide\ through\ by\ a:\\\\y^2=\frac{x^3}{a}\\ \\Take\ square\ root\ of\ both\ sides:\\\\y=\sqrt{\frac{x^3}{a}} \\

4 0
3 years ago
A loss in value caused by an undesirable or hazardous influence offsite is which type of depreciation?
Lubov Fominskaja [6]

External depreciation may be defined as a loss in value caused by an undesirable or hazardous influence offsite.

<h3>What is depreciation?</h3>

Depreciation may be defined as a situation when the financial value of an acquisition declines over time due to exploitation, fray, and incision, or obsolescence.

External depreciation may also be referred to as "economic obsolescence". It causes a negative influence on the financial value gradually.

Therefore, it is well described above.

To learn more about Depreciation, refer to the link:

brainly.com/question/1203926

#SPJ1

5 0
1 year ago
Other questions:
  • Millions of years ago, the Sierra Nevada region began to be uplifted along a crack in Earth's crust. The region on the other sid
    14·1 answer
  • A cylindrical specimen of a hypothetical metal alloy is stressed in compression. If its original and final diameters are 30.00 a
    14·1 answer
  • Water is the working fluid in a Rankine cycle. Superheated vapor enters the turbine at 8 MPa, 560°C and the turbine exit pressur
    13·1 answer
  • Find the difference between the first and third angle projection type.
    11·1 answer
  • Describe, in a general form, the equation, in time domain, that tells the voltage across a inductor, L, as a function of time wh
    6·1 answer
  • Part A What is the correct expression of the internal torque in segment AB? A shaft is fixed at A. A clockwise distributed torqu
    6·1 answer
  • 2 Air enters the compressor of a cold air-standard Brayton cycle at 100 kPa, 300 K, with a mass flow rate of 6 kg/s. The compres
    7·1 answer
  • A video inspection snake is use
    7·1 answer
  • .If aligned and continuous carbon fibers with a diameter of 6.90 micron are embedded within an epoxy, such that the bond strengt
    11·1 answer
  • Zack's new home is progressing well, and the foundation work is finished. The general contractor stops by Zack's present home to
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!