programme = "A" for n in range(3): programme = sub("A","AGADADAAGAGADA",programme) Toto((programme+"D")*4)