Source code for kyu_7.make_class.animal
# Created by Egor Kostan.
# GitHub: https://github.com/ikostan
# LinkedIn: https://www.linkedin.com/in/egor-kostan/
[docs]class Animal:
def __init__(self, name, species, age, health, weight, color):
self.name = name
self.species = species
self.age = age
self.health = health
self.weight = weight
self.color = color