def prepisi(ime):
    """Prepisemo vsebino datoteke z imenom ime na zaslon."""
    f = open(ime)
    for vrstica in f:
        print(vrstica,end="")
    f.close()

def prepisi2(ime):
    """Prepisemo vsebino datoteke z imenom ime na zaslon."""
    with open(ime) as f:
        for vrstica in f:
            print(vrstica,end="")


def prepisi3(ime,imeiz):
    """Prepisemo vsebino datoteke z imenom ime na zaslon."""
    with open(ime) as f:
        with open(imeiz,"w") as g:
            for vrstica in f:
                print(vrstica,end="")
                print(vrstica,end="", file=g)
