Question: [ Python ] Create a function to calculate the first year of a dog s life ( regardless of weight ) is equivalent to 1

[Python] Create a function to calculate the first year of a dogs life (regardless of weight) is equivalent to 15human years, and the second is equivalent to 9. For each additional year: a small dog (20 lbs or less) ages four human years; a medium dog (21-50 lbs) ages five human years, and a large dog (over 50 lbs) ages six human years. Would it be possible to use List or Dictionary?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!