1
2
3
def hork(derp):
    for breed in ("poodle", "terrier", "beagle"):
        yield breed * derp