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
tigry1 [53]
3 years ago
12

In this lab, you add the input and output statements to a partially completed Python program. When completed, the user should be

able to enter a year, a month, and a day. The program then determines if the date is valid. Valid years are those that are greater than 0, valid months include the values 1 through 12, and valid days include the values 1 through 31.
Instructions

Notice that variables have been declared for you.

Write input statements to retrieve a year, a month, and a day from the user.

Include the print statements to output the following:

month/day/year is a valid date.
or

month/day/year is an invalid date.
Execute the program entering the following input:

month = 5, day = 32 year = 2014
Execute the program entering the following input:

month = 9 day = 21 year = 2002
Social Studies
1 answer:
Vikki [24]3 years ago
6 0

Answer:  Python Program

Explanation:  Year =2020, Month =Feb, Day =17

                       Year = 2020,Month =Feb , Day =16

                       Year = 2020, Month =Jan  Day = 5

This is an example of Variables inputted for a python program for an SME calendar program for year 2020

You might be interested in
When Rosa and Sergei realized that the poor were being neglected in their city, they mobilized the members of their church to se
Vanyuwa [196]

Answer:

Liberation theology

Explanation:

Liberation theology can be defined as a theology which sole aim is to help the poor or the needy as well as the oppressed. And this is done in order to help fight poverty through addressing its alleged source which is the sin of greed because some poor people were being neglected in some city.Therfore in order to combat this the church create a form of relationship with the government or political activists asking them to fix the growing rate of poverty for the purpose of aiding the poor and the oppressed people in the society.

This act by Rosa and Sergei is basically an example of LIBERATION THEOLOGY

6 0
3 years ago
Read 2 more answers
Invertebrates are Not important to the forest system.True of false?
denpristay [2]

Answer:

False!

Explanation:

5 0
4 years ago
Read 2 more answers
What are the 27 amendments for the usa?
PSYCHO15rus [73]
1. The freedom of religion, speech, and to peacefully assemble together.
2. The right to own a gun.
3. The right to not house a solider.
4. The right to not be searched or have something taken away within reason.
5. The right to life, liberty, property, and no double jeopardy or self-incrimination.
6. The right to a speedy trial, public trial, and with a jury of your peers.
7. The right to an jury trial in a civil case.
8. Protection from excessive bail, and cruel and unusual punishments.
9. The rights not listed in the Constitution.
10. Any rights not given to the federal government are given to the states.
11. Protects the states from law suits.
12. There are separate ballets for the President and Vice President.
13. The abolishment of slavery.
14. Equal protection under the Constitution for all United States citizens.
15. No voting discrimination of race.
16. Income tax is legal.
17. Popular vote for United States Senate.
18. Prohibition of alcohol.
19. Women's right to vote.
20. Moving of dates for terms of presidency.
21. Repeal of prohibition of alcohol.
22. Limits the terms Presidents can serve.
23. Washington D.C. have the right to vote for President.
24. No poll taxes are allowed.
25. The succession for presidency shall something happen to the President.
26. The minimum voting age is 18.
27. Congress cannot get a pay raise until the next term.
8 0
4 years ago
After the Office of Management and Budget identifies how federal money should be used, who authorizes the spen? a. the President
kozerog [31]
Here is the answer. After the Office of Management and Budget identifies how federal money should be used, the one who authorizes the spend is the Congress. The <span>congress passes laws that authorize payment. Hope this answers your question. Have a great day!</span>
8 0
3 years ago
Because local knowledge provides a framework for individual and community problem solving, not only on a day-to-day basis but al
Vanyuwa [196]

Because local knowledge provides a framework for individual and community problem solving, not only on a day-to-day basis but also over the long term, it contributes to and informs<u> "sustainable development".</u>


Sustainability is development that fulfills the necessities of the present without trading off the limit of who and what is to come, ensuring the harmony between financial development, care for nature and social prosperity.  

Sustainable development is an idea that showed up without precedent for 1987 with the production of the Brundtland Report, cautioning of the negative natural outcomes of financial development and globalization, which endeavored to discover conceivable answers for the issues caused by industrialization and populace development.

7 0
3 years ago
Other questions:
  • ​in order to ensure victory in general elections, candidates revise their message to attract moderate voters. this is an example
    5·2 answers
  • The similarities and difference between the religious traditions of the Hinduism and buddhism? please give me answer fast
    13·1 answer
  • Krystal is a federal judge. krystal's judicial decisions are part of case law. this law includes interpretations of primary sour
    8·1 answer
  • Ruth is trying to organize a protest march to demand equal pay for women. She wants to contact as many people as she can and con
    9·1 answer
  • In general, which of the following is NOT a common source of conflict between friends?
    10·2 answers
  • If Abraham Lincoln modeled top hats professionally, then Abraham Lincoln wore top hats. Since we know that Abraham Lincoln often
    12·1 answer
  • The World Health Organization says coronavirus might have infected what percentage of the global population (roughly 770 million
    8·1 answer
  • Why do you think that people in China today call themselves “the children of Han”? In your answer, consider at least three impor
    6·1 answer
  • Hi<br>I want a distinct leadership story title​
    11·2 answers
  • Use the map to answer the following question:
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!