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
How high of a column of sae 30 oil would be required to give the same pressure as 700 mm hg?
Rasek [7]

Hoiu-10,4000 mm.

<h3>Is positive pressure good for PC?</h3>
  • A balanced configuration is the most efficient way to cool your pc although it should tend towards a slight positive pressure if you can help it.
  • Tip: As much as it might seem important, the concept of heat rising doesn't have too much of an effect.

To learn more about it, refer

to https://brainly.in/question/413163

#SPJ4

7 0
1 year ago
assume a five layer network model. There are 700 bytes of application data. There is a 20 bye header at the transport layer, a 2
amm1812

Answer: The overhead percentage is 7.7%.

Explanation:

We call overhead, to all those bytes that are delivered to the physical layer, that don't carry real data.

We are told that we have 700 bytes of application data, so all the other bytes are simply overhead, i.e. , 58 bytes composed by the transport layer header, the network layer header, the 14 byte header at the data link layer and the 4 byte trailer at the data link layer.

So, in order to assess the overhead percentage, we divide the overhead bytes between the total quantity of bytes sent to the physical layer, as follows:

OH % = (58 / 758) * 100 = 7.7 %

4 0
3 years ago
In the planning process of the product development life cycle what is it important to inventory
Verizon [17]

Your Answer would be A I believe.

6 0
2 years ago
Whats viruses c liver?
PtichkaEL [24]

Answer:

Hepatitis C is a viral infection that causes liver inflammation, sometimes leading to serious liver damage. The hepatitis C virus (HCV) spreads through contaminated blood.

5 0
2 years ago
Read 2 more answers
A large particle composite consisting of tungsten particles within a copper matrix is to be prepared. If the volume fractions of
OverLord2011 [107]

Answer:

Upper bounds 22.07 GPa

Lower bounds 17.59 GPa

Explanation:

Calculation to estimate the upper and lower bounds of the modulus of this composite.

First step is to calculate the maximum modulus for the combined material using this formula

Modulus of Elasticity for mixture

E= EcuVcu+EwVw

Let pug in the formula

E =( 110 x 0.40)+ (407 x 0.60)

E=44+244.2 GPa

E=288.2GPa

Second step is to calculate the combined specific gravity using this formula

p= pcuVcu+pwTw

Let plug in the formula

p = (19.3 x 0.40) + (8.9 x 0.60)

p=7.72+5.34

p=13.06

Now let calculate the UPPER BOUNDS and the LOWER BOUNDS of the Specific stiffness

UPPER BOUNDS

Using this formula

Upper bounds=E/p

Let plug in the formula

Upper bounds=288.2/13.06

Upper bounds=22.07 GPa

LOWER BOUNDS

Using this formula

Lower bounds=EcuVcu/pcu+EwVw/pw

Let plug in the formula

Lower bounds =( 110 x 0.40)/8.9+ (407 x 0.60)/19.3

Lower bounds=(44/8.9)+(244.2/19.3)

Lower bounds=4.94+12.65

Lower bounds=17.59 GPa

Therefore the Estimated upper and lower bounds of the modulus of this composite will be:

Upper bounds 22.07 GPa

Lower bounds 17.59 GPa

7 0
2 years ago
Other questions:
  • An old refrigerator consumes 247 W of power. Assuming that the refrigerator operates for 19 hours everyday, what is the annual o
    15·2 answers
  • 2. In the above figure, what type of cylinder arrangement is shown in the figure above?
    9·1 answer
  • A motor vehicle has a mass of 1.8 tonnes and its wheelbase is 3 m. The centre of gravity of the vehicle is situated in the centr
    14·1 answer
  • A baseband signal with a bandwidth of 100 kHz and an amplitude range of±1 V is to be transmitted through a channel which is cons
    8·2 answers
  • In Engineering, what is a shoulder on a bridge?
    8·1 answer
  • (30 pts) A simply supported beam with a span L=20 ft and cross sectional dimensions: b=14 in; h=20 in; d=17.5 in. is reinforced
    13·1 answer
  • How to Cancel prescription
    12·1 answer
  • PLLLLLEEESSSEEE IIII NEED ASAP
    12·2 answers
  • Engineering practices include which of the following? Select all that apply.
    10·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
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!