from vagons import Vago


def crear_vagons(nvag, nseu, npeu):
    for i in range(nvag):
        yield Vago("VAG{:02d}".format(i), nseu, npeu)
