class dog_years: years = 0 __ fido=Dog() fido.years=3 print(fido.dog_years())
#Create a Dog class with dog_years based on the Piglet class shown before (one human year is about 7 dog years).classdog_years:
years =0
__
fido=Dog()
fido.years=3print(fido.dog_years())