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 furnace wall is to be built of 20-cm firebrick and building (structural) brick of same thickness. The thermal conductivities o
Norma-Jean [14]

Answer:

q=2313.04W/m^2

T=690.86°C

Explanation:

Given that

Thickness t= 20 cm

Thermal conductivity of firebrick= 1.6 W/m.K

Thermal conductivity of structural brick= 0.7 W/m.K

Inner temperature of firebrick=980°C

Outer temperature of structural brick =30°C

We know that thermal resistance

R=\dfrac{t}{KA}

These are connect in series

R=\left(\dfrac{t}{KA}\right)_{fire}+\left(\dfrac{t}{KA}\right)_{struc}

R=\dfrac{0.2}{1.6A}+\dfrac{0.2}{0.7A}\ K/W

R=\dfrac{23}{56A}\ K/W

Heat transfer

Q=\dfrac{\Delta T}{R}

Q=56A\times \dfrac{980-30}{23}\ W

So heat flux

q=2313.04W/m^2

Lets temperature between interface is T

Now by equating heat in both bricks

\dfrac{980-T}{\dfrac{0.2}{1.6A}}=\dfrac{T-30}{\dfrac{0.2}{0.7A}}

So T=690.86°C

6 0
3 years ago
What is the velocity of flow in an asphalt channel that has a hydraulic radius of 3.404 m, length of 200 m and bed slope of 0.00
yKpoI14uk [10]

Answer:

The velocity of flow is 10.0 m/s.

Explanation:

We shall use Manning's equation to calculate the velocity of flow

Velocity of flow by manning's equation is given by

V=\frac{1}{n}R^{2/3}S^{1/2}

where

n = manning's roughness coefficient

R = hydraulic radius

S = bed slope of the channel

We know that for an asphalt channel value of manning's roughness coefficient = 0.016

Applying values in the above equation we obtain velocity of flow as

V=\frac{1}{0.016}\times 3.404^{2/3}\times 0.005^{1/2}\\\\\therefore V=10.000m/s

7 0
3 years ago
why is the thermal conductivity of super insolation order of magnitude lower than the thermal conductivity of ordinary insulatio
Anni [7]

Answer:

Super insulation are obtained by using layers of highly reflective sheets separated by glass fibers in an vacuumed space. Radiation heat transfer between any of the surfaces is inversely proportional to the number of sheets used and thus heat lost by radiation will be very low by using these highly reflective sheets which will an effective way of heat transfer.

Explanation:

3 0
3 years ago
A discrete MOSFET common-source amplifier has RG = 2 MΩ, gm = 5 mA/V, ro = 100 kΩ, RD = 20kΩ, Cgs = 3pF, and Cgd = 0.5pF. The am
Papessa [141]

Answer:

a) -36.36 V/V

b) 15.17 kHz

c) 1.6 GHz

Explanation:

See attached picture.

7 0
3 years ago
Going green means: increasing one's initiatives toward a concern for the environment. increasing one's bottom line, before any o
Tcecarenko [31]

Answer:

Going green means increasing one's initiatives toward a concern for the environment.

Explanation:

Going green involves all the knowledge and practices that can lead to more environmentally friendly and ecologically responsible decisions and lifestyles, which would protect and sustain the natural resources present in the environment for both present and future generations.

8 0
3 years ago
Other questions:
  • The state of plane strain on an element is:
    15·1 answer
  • The mechanical advantage of a screw is always ____________________ than/to 1. Question 5 options: less, greater, equal, none of
    7·1 answer
  • This question allows you to practice proving a language is non-regular via the Pumping Lemma. Using the Pumping Lemma (Theorem 1
    10·1 answer
  • Build a 32-bit accumulator circuit. The circuit features a control signal inc and enable input en. If en is 1 and inc is 1, the
    13·1 answer
  • If you have 300 skittles in a bag and you need to have 28 percent yellow. How many yellow skittles would you have to make a mini
    11·1 answer
  • Need help with these 3 ez questions pls help me will mark brainiest.
    15·1 answer
  • A 1.9-mm-diameter tube is inserted into an unknown liquid whose density is 960 kg/m3, and it is observed that the liquid rises 5
    7·1 answer
  • Why do engineers play a variety of roles in the engineering process?
    6·1 answer
  • 4.
    6·1 answer
  • What is the objective of phasing out an INDUCTION MOTOR before putting the machine into commission?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!