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
Which of the following are sources are relaible?check all that apply
aev [14]
Can you attach a photo if possible and i will try to answer<3
3 0
3 years ago
which of the following is an example of extrinsic motivation? group of answer choices a social worker spends more time with the
ololo11 [35]

Giving a student a reward is an example of extrinsic motivation.

<h3>Extrinsic motivation: what is it?</h3>

Extrinsic motivation refers to driving behavior with rewards or other incentives, such as adulation, fame, or money. It is driven by outside factors, unlike inner motivation, and might be less successful in long-term behavior change.

<h3>What are some examples of extrinsic motivation?</h3>

Extrinsic motivation is the term used to describe when someone feels compelled to do something in order to gain praise or avoid criticism.For instance, people might anticipate receiving cash, presents, or praise.

To know more about extrinsic motivation visit:

brainly.com/question/1658150

#SPJ4

6 0
1 year ago
This natural landmark is the highest mountain in North America. What is its correct name and location? Appalachian Mountains, Ma
ArbitrLikvidat [17]
Alaska Mt McKinley is the correct answer.
4 0
3 years ago
Read 2 more answers
4) What is the area where Seymour lives called?
alisha [4.7K]

Answer:

Seymour lived in New York City.

Explanation:

Little Shop of Horrors is a musical film directed by Frank Oz. The movie is an adaptation of the Broadway musical comedy composed by Alan Menken.

Seymour is the main character in the movie, who lives in New York City and works as a menial worker at M-u-s-h-n-i-k's Flower Shop. He has a crush on his co-worker, Audrey, but could never confess as she has a b-o-y-f-r-i-e-n-d and he was shy.

Therefore, the correct answer is New York City.

7 0
3 years ago
According to nietzsche, all values are _____ . ultimately based on facts chosen worthwhile inherited
ipn [44]
According to Nietzsche, all values are chosen.<span> Nietzsche believes that we're not naturally equal - in terms of moral worth, natural abilities, or any other measure you can think of. His philosophy is </span><span>that our values are not themselves fixed and objective but rather express a certain attitude toward life. </span>
8 0
4 years ago
Other questions:
  • “If Agriculture Goes Wrong, Nothing Else Will Have A Chance To Go Right In The Country”- M S Swami Nathan.
    13·1 answer
  • Edmund Randolph introduced the (Fill in the Blank)
    7·1 answer
  • What is consumerism?
    7·2 answers
  • Charlie tells Jamal that Marisol has agreed to allow him to sell her racing bicycle. Marisol is present at the time, hears the c
    15·1 answer
  • A new world opened up for many soldiers after the war because of the training and education they received.
    10·2 answers
  • Decide if the information below demonstrates effective note-taking and choose the best choice from the drop-down menu. Native Am
    10·2 answers
  • C. Farmers are primarily men while herding is
    15·1 answer
  • How did the Korean War help rebuild Japan’s economy?
    12·2 answers
  • What type of Economy is based on costoms and traditions? ​
    9·2 answers
  • Coordinated phonological changes in a language are called _____. Multiple choice question. chain shifts symbolic dominations hon
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!