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
Large particles (or large quantities of smaller particles)
saul85 [17]
A large particle, however, cannot pass through the membrane, even with energy supplied by the cell. Instead, cells use one of two primary mechanisms that transport these large particles: endocytosis and exocytosis.
6 0
3 years ago
When did the arabs live in palestine
saveliy_v [14]

Answer:

The term "Arab", as well as the presence of Arabians in the Syrian Desert and the Fertile Crescent, is first seen in the Assyrian sources from the 9th century BCE (Eph'al 1984). Southern Palestine had a large Edomite and Arab population by the 4th century BCE.

3,000 to 2,500 B.C

Explanation:

6 0
3 years ago
What is an explicit idea?
Natasha_Volkova [10]
An idea that is stated directly in the text
4 0
3 years ago
Read 2 more answers
Recall that Harold Kelley (1950) told some college students that their guest instructor was a warm person, and others that he wa
yKpoI14uk [10]

Answer:

specific to the situation in which we find ourselves.              

Explanation:

Schema: In psychology, the term schema is defined as an individual's cognitive framework that helps him or her to interpret and organize a piece of particular information. It also leads an individual to ignore or avoid certain information and look for only those things that conform to his or her formerly present ideas and beliefs.

Through schema, an individual tends to knows what should he or she expect from a specific situation or experience.

In the question above, the given statement's results support the idea that schemas are specific to the situation in which we find ourselves.

3 0
4 years ago
Serving varied portion sizes throughout a shift can greatly affect cost
NARA [144]

Answer:

False

Explanation:

7 0
3 years ago
Other questions:
  • How has the United States Constitution created a strong federal government with limited power that has protected the rights of p
    7·1 answer
  • Who believes that social institutions were originally designed to meet basic survival needs?
    14·1 answer
  • Who began the abolitionist movement in Great Britain? A. Elizabeth Cady Stanton B. Thomas Clarkson C. Lucretia Mott D. Thomas Je
    9·1 answer
  • What do you need yo study to become a sports commentator?
    5·1 answer
  • What the answers for 1 and 2
    14·1 answer
  • What was an accomplishment of Dinh Tien Hoang?
    12·2 answers
  • Brad has noticed that the girls he has gone out with still expect him to pay the bill when they go out, even though they may hav
    14·1 answer
  • Punishment Received for Not Obeying Family Rules​<br><br> Please Help!!
    11·2 answers
  • Which are two politics within the national congress? How they different with each other​
    9·1 answer
  • The traditional timing for diagnosing specific learning disorders has been after a child displays difficulty with a particular s
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!