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
The MOST active period of the Trans-Atlantic slave trade was during which time period? Question 6 options:
lakkis [162]

The correct answer is "C: 1701 to 1800".

During these years, slaves could be found in every colony established in the Americas, including the settlements located in South America, who were governed by the Spanish Kingdom.

In the years between 1740 and the end of the century, nearly 60,000 inhabitants from Africa were brought to America on a yearly basis. This largely exceeded the number of immigrants coming from the European continent. Approximately 4 times the amount of European immigrants.

3 0
3 years ago
Read 2 more answers
How might health outcomes be affected by religious practices of members of varying religions in the United States? Are there oth
gayaneshka [121]

Answer:

Family life plays a very important role in the development of children. A child’s first of everything is learned through the bonds of his or her family. When there is a severe lack of developmental bonding between a child and significant family member, said child’s health will deteriorate. For example, if a child is growing up in a single parent household, they are lacking a stronger relationship with the other parental figure. This can greatly affect the child’s life along the line, in the future. When children are raised in a single parent household, their chances of having a “lower standard of living” and a decrease in parental involvement are higher (Kendall, 2018). Similarly, if achild is growing up in a family where the parental figures are no longer compatible, the child will also have developmental issues along the line. How might the educational system in the United States affect the healthExplanation:

4 0
3 years ago
Sociologists describe race as a social construct. What does this statement mean?
kifflom [539]

Answer:

Race is a system that is invented, created by human beings.

3 0
3 years ago
What makes a planet habitable? 5 sentences
Pie

Answer:

Explanation: 1) Temperature influence how quickly modulus and atoms move. 2) water dissolves and transport chemicals within and to and from cells. 3) atmosphere traps heat and shields the surface. 4) energy organisms use light to run their life processes. 5) nutrients used to build and maintain an organism's body.

7 0
3 years ago
What comes to mind when you hear the word “freedom”?
Georgia [21]

Answer:

when it come freedom in my mind i feel like free

Explanation:

6 0
3 years ago
Read 2 more answers
Other questions:
  • The arousal theory of motivation would be most useful for understanding the aversive effects of
    11·1 answer
  • Chanel is a six-month-old baby. Her mother shows her a teddy bear and she giggles. However, when her mother hides the teddy bear
    13·1 answer
  • Complaining to the highest level of management is usually the last step when a problem is not solved at lower levels. True or Fa
    6·1 answer
  • Sabina is part of a problem-solving small group in her speech class. As the first meeting of the group came to an end, Sabina vo
    9·1 answer
  • What year was elton john born in?
    13·2 answers
  • Which sample(s) should be classified as possible cancer treatment(s)
    11·1 answer
  • Explain the two sides of China's civil war and identify who some of the leaders were? paragraph
    9·1 answer
  • Before September 11, 2001, which was NOT a focus of the Bush presidency?
    11·1 answer
  • Which audience appeal does Churchill most clearly use here?
    7·2 answers
  • g Historically, death has been ascertained by the cessation of Group of answer choices breathing and heartbeat. consciousness. b
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!