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]
2 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]2 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
The process _______ boosted the production of fertilizers and strengthened the agriculture industry.
ANTONII [103]

Answer:

Process of Green Revolution

Explanation:

Green Revolution is a process which started its initiatives between the 1950s and 1960s, a technological research process, that increase agricultural productions through various systematic approach, which are different from the traditional methods. These technological approach includes:

1.  Utilization of new varieties with a high yield potential, in addition with adequate water  supply, pesticides and fertilizers.

2.  New methods of cultivation and mechanization

Hence, the process of Green Revolution boosted production of fertilizers and strengthen the agriculture industry as a whole.

6 0
3 years ago
When you are climbing a hill on a bike with different speeds, why does it seem like you are pedaling a lot to cover a short dist
ololo11 [35]

It seems like your pedaling a lot because it takes more energy and is way slower than a regular road. It you switch to the higher gear it will make you go slower because it is made for going down hill or going high speeds and a lower gear will help you more cause its easier and it will make it go faster.

5 0
2 years ago
A tool used to put a concave edge on a plane iron is
tigry1 [53]

Answer:

C) grinder

Explanation:

7 0
2 years ago
Read 2 more answers
Which option identifies the next step in the following scenario?
Whitepunk [10]

Answer: The engineer will create a detailed sketch that labels all of the visual components.

Explanation:

It should be noted that the reverse engineering is required for the replacement and the modification of an existing product.

With regards to the question, the correct answer is option A "The engineer will create a detailed sketch that labels all of the visual components".

4 0
3 years ago
River models are used to study many different types of flow situations. A certain small river has an average width and depth of
slavikrds [6]

Answer: 7ft x21 I’d be right but yes I am

Explanation: because it is Welty

4 0
2 years ago
Other questions:
  • 3. A 4-m × 5-m × 7-m room is heated by the radiator of a steam-heating system. The steam radiator transfers heat at a rate of 10
    9·1 answer
  • Plz answer all of these questions!
    15·1 answer
  • A hydraulic cylinder has a 125-mm diameter piston with hydraulic fluid inside the cylinder and an ambient pressure of 1 bar. Ass
    8·1 answer
  • 3. Which of the following is not a common impact
    7·1 answer
  • A geothermal heat pump absorbs 15 KJ/s of heat from the Earth 15 m below a house. This heat pump uses a 7.45 kJ/s compressor.
    5·2 answers
  • A moving-coil instrument, which gives full-scale deflection with 0.015 A has a copper coil having resistance of 1.5 Ohm at 15°C
    7·1 answer
  • Do you know who Candice is
    8·2 answers
  • (HVAC) PLEASE HELP neeed helpp
    15·1 answer
  • Which of the following is NOT a line used on blueprints?
    13·1 answer
  • A kitchen contains one section of counter that's 20 inches
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!