subject

Write a program that prompts the user to enter the year and the first three letters of a month name (with the first letter in uppercase) and displays the number of days in the month. Sample Run 1
Enter a year: 2001
Enter a month: Jan
Jan 2001 has 31 days
Sample Run 2
Enter a year: 2000
Enter a month: Feb
Feb 2000 has 29 days
Sample Run 3
Enter a month: 2001
Enter a month: jan
jan is not a correct month name In python.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:40
When you type the pwd command, you notice that your current location on the linux filesystem is the /usr/local directory. answer the following questions, assuming that your current directory is /usr/local for each question. a. which command could you use to change to the /usr directory using an absolute pathname? b. which command could you use to change to the /usr directory using a relative pathname? c. which command could you use to change to the /usr/local/share/info directory using an absolute pathname? d. which command could you use to change to the /usr/local/share/info directory using a relative pathname? e. which command could you use to change to the /etc directory using an absolute pathname? f. which command could you use to change to the /etc directory using a relative pathname?
Answers: 3
question
Computers and Technology, 24.06.2019 11:00
Each row in a database is a set of unique information called a(n) ? a.) table. b.) record. c.) object. d.) field.
Answers: 2
question
Computers and Technology, 24.06.2019 11:20
Colby works as a shipping clerk for a major package delivery service. some of his daily tasks include tracking shipments and entering orders. which aspect of the information technology cluster would he most likely be trained in? a.networkingb.databasesc.hardwared.software
Answers: 2
question
Computers and Technology, 24.06.2019 15:50
Subscribe to j p g a m e t u b e on you tube ?
Answers: 2
You know the right answer?
Write a program that prompts the user to enter the year and the first three letters of a month name...
Questions
question
Mathematics, 16.02.2021 14:00
question
Biology, 16.02.2021 14:00
question
English, 16.02.2021 14:00
question
Biology, 16.02.2021 14:00
question
Biology, 16.02.2021 14:00
question
English, 16.02.2021 14:00
question
Mathematics, 16.02.2021 14:00
question
English, 16.02.2021 14:00
Questions on the website: 13722367