Computers and Technology

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

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 00:00, jahi1201
Ahorse is how much percent more powerful than a pony
Answers: 1
image
Computers and Technology, 22.06.2019 11:30, stodd9503
Awell-diversified portfolio needs about 20-25 stocks from different categories is this true or false?
Answers: 2
image
Computers and Technology, 22.06.2019 22:30, kierafisher05
What is the most popular genre of video games?
Answers: 1
image
Computers and Technology, 23.06.2019 07:30, barkonatree
What is the penalty for violating section 1201 of title 17 chapter 21 of the us code
Answers: 1
Do you know the correct answer?
In this lab, you add the input and output statements to a partially completed python program. when c...

Questions in other subjects:

Konu
Mathematics, 01.07.2019 09:00
Konu
Chemistry, 01.07.2019 09:00