# from typing_extensions import Self


class Dog:
    species = "Canis familiaris"

    def __init__(self, name, age, breed):
        self.name = name
        self.age = age
        self.breed = breed

miles = Dog("Miles", 4, "Jack Russell Terrier")
buddy = Dog("Buddy", 9, "Dachshund")
jack = Dog("Jack", 3, "Bulldog")
jim = Dog("Jim", 5, "Bulldog")

for Dog in (miles,buddy,jack,jim):
    print(f"{Dog.name} is {Dog.age} years old {Dog.breed} from breed")

