![seonna](/avatars/42157.jpg)
seonna
12.03.2020 •
Computers and Technology
First write the program date.py, which should take in a month, day of the month and year, and convert it to the corresponding day of the year. Assume that leap years exist. Check that each date is correct (ie. March 56, 2017 is incorrect). For incorrect dates the conversion function should return -1, and you should print an error from main. For both programs, use dictionaries to store whatever data you might need (the number of days in each month, etc.)
Solved
Show answers
More tips
- F Food and Cooking The Disease That Haunted Abraham Lincoln...
- P Philosophy What is Something for you?...
- S Style and Beauty Intimate Haircut: The Reasons, Popularity, and Risks...
- A Art and Culture When Will Eurovision 2011 Take Place?...
- S Style and Beauty How to Choose the Perfect Hair Straightener?...
- F Family and Home Why Having Pets at Home is Good for Your Health...
- H Health and Medicine How to perform artificial respiration?...
- H Health and Medicine 10 Tips for Avoiding Vitamin Deficiency...
- F Food and Cooking How to Properly Cook Buckwheat?...
- F Food and Cooking How Many Grams Are In a Tablespoon?...
Answers on questions: Computers and Technology
- E English HOW does the article introduce the idea that the bees were not that dangerous? A by describing how calm the man was when he found them B by quoting Jesse Johnson, who knows a great...
- M Mathematics The expression 63 x 42 is equivalent to which of the following numerical expressions? O A. 18 x 8 O B. (6 x 4) 5 OC. 246 O D. 216 x 16 Pls answer...
Ответ: