Ask coding questions

← Back to all posts
People who can help with this task send the code, who can 🙏
F1L1K (0)

Disease:
Create a Dog class with an attribute of the age_factor 7 class. Create init, which takes values for the dog's age. Then specify the human_age method, which returns a string with the dog's age in human equivalent, but rounded to the nearest hundredth. Also, be sure to add a validation method to verify the passed age parameter. Age should be int or float. Otherwise, a proper exception should be called in the init logic.

Voters
F1L1K (0)
Comments
hotnewtop
SixBeeps (5037)

What have you tried already?

ch1ck3n (1564)

Rules:

Please don't use stack overflow or repl ask for just people doing all of your homework assignment.