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
PtichkaEL [24]
4 years ago
14

python Write a program that prompts the user to enter the month and year and displays the number of days in the month. For examp

le, if the user entered month 2 and year 2000, the program should display that February 2000 has 29 days. If the user entered month 3 and year 2005, the program should display that March 2005 has 31 days.
Engineering
1 answer:
sp2606 [1]4 years ago
3 0

Answer:

program

Explanation:

Program that prompts the user to enter the month and year and displays the number of days in the month:

1. print("List of months: January, February, March, April, May, June, July, August, September, October, November, December")

2. month_name = input("Input the name of Month: ")

if month_name == "February":

print("No. of days: 28/29 days")

elif month_name in ("January", "March", "May", "July", "August", "October", "December"):

print("No. of days: 31 day")

elif month_name in ("April", "June", "September", "November"):

print("No. of days: 30 days")

else:

print("Wrong month name")

You might be interested in
Gn bbys sleep well<br><br><br><br><br> gn
Musya8 [376]

Answer:

mwuah

Explanation:

I got u girl, what r u on?

7 0
3 years ago
Read 2 more answers
What additional information would make the following problem statement stronger? Select all that apply.
Zolol [24]
Idl sjdjdjdkdnsnehusoslowpwmwkw
4 0
3 years ago
When handling chemicals and solvents, technicians are recommended to
Luda [366]

Answer:

  1. To wear PPE
  2. Have prior knowledge of explosive levels and elemental properties
  3. Know procedure to eliminate any threat
7 0
3 years ago
Read 2 more answers
Where did fossil fuels come from
Levart [38]

Any fuel such as coal, petroleum (crude oil) or natural gas that has developed within the Earth over millions of years from the decayed remains of bacteria, plants or animals

6 0
3 years ago
Read 2 more answers
T
solniwko [45]

Answer:

Common Uses: Boxwood is well-suited for carving and turning, and the tree's diminutive size restricts it to smaller projects. Some common uses for Boxwood include: carvings, chess pieces, musical instruments (flutes, recorders, woodwinds, etc.), rulers, handles, turned objects, and other small specialty items.If you want a small, compact, low-growing shrub to form a hedge that serves as an accent or border along your walkway, fence line or planting beds, dwarf boxwood varieties are the best pick. The "Dwarf English" boxwood (Buxus sempervirens “Suffruticosa”) creates a border hedge approximately 1 to 2 feet in height.

Explanation:

3 0
3 years ago
Other questions:
  • A certain full-wave rectifier has a peak output voltage of 30 V. A 50 mF capacitor-input filter is connected to the rectifier. C
    6·1 answer
  • The displacement volume of an internal combustion engine is 3 liters. The processes within each cylinder of the engine are model
    10·1 answer
  • A liquid phase reaction, A → B, is to be carried out in an isothermal, well mixed batch reactor with a volume of 1L. Initially t
    14·1 answer
  • Vitrification is a process of: a. Chemical reaction bonding of aggregate ceramic powder b. Cementing aggregate ceramic powder wi
    9·1 answer
  • Compare the use of a low-strength, ductile material (1018 CD) in which the stress-concentration factor can be ignored to a high-
    15·1 answer
  • A car of length 15 ft. approaches a signalized intersection at 45 mph when the light changes to yellow. The vehicle is 300 ft. f
    13·1 answer
  • What is Geography? pliz help​
    8·2 answers
  • How is tolerance calculated?
    11·1 answer
  • Select the correct answer. Which physical quantity measures the rate at which an object’s velocity changes?
    11·1 answer
  • What type of Exhaust is best for the 3.9 Mopar V6 Engine in Dodge Dakota?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!