You've been asked to help out at a dog shelter. You need to write a program to store information about new dogs that are coming to the shelter. It should be a data class DogData with three attributes: name, age and breed. Since many dogs don't belong to a specific breed, the breed attribute should have a default value mixed breed. Choose the correct way to do it.
Dataclass
Dog shelter
Report a typo
Select one option from the list
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.