#On définit le programme def menu(): print("Choisissez un temps :") #On chosit le temps choix=int(input(""" 1. Présent 2. Futur 3. Passé 9. Quitter le programme Rentrez votre choix : """)) if choix==1: fonction4() print(""" Choisir un groupe :""") #On chosit ensuite le groupe choix=int(input(""" 4. Verbe en ER 5. Verbe en AR 6. Verbe en IR 9. Quitter le programme Rentrez votre choix : """)) if choix==4: fonction1() print(""" Choisir la forme du verbe :""") #On choisit la forme du verbe choix=int(input(""" 8. Verbe Régulier 7. Verbe Irégulier 9. Quitter le programme Rentrez votre choix : """)) if choix==8: print(""" Verbe Régulier : -o, - es, -e, -emos, - éis, -en""") exit elif choix==7: print(""" Verbe Irégulier : .ser : soy, eres, es, somos, sois, son .ver : veo, ves, ve, vemos, veis, ven .saber : sé, sabes, sabe, sabemos, sabéis, saben .haber : he, has, ha , hemos, habéis, han .poner : pongo, pones, pone, ponemos, ponéis, ponen .hacer : hago, haces, hace, hacemos, hacéis, hacen .caer : caigo, caes, cae, caemos, caéis, caen .traer : traigo, traes, trae, traemos, traéis, traen .tener : tengo, tienes, tiene, tenemos, tenéis, tienen""") elif choix==9: print("Fin du programme") exit else: choix!=9 print("Valeur invalide") input() menu() elif choix==5: fonction2() print(""" Choisir la forme du verbe :""") #On choisit la forme du verbe choix=int(input(""" 8. Verbe Régulier 7. Verbe Irégulier 9. Quitter le programme Rentrez votre choix : """)) if choix==8: print(""" Verbe Régulier : -o, -as, -a, -amos, -áis, -an""") elif choix==7: print(""" Verbe Irégulier : .estar : estoy, estás, está, estamos, estáis, están .dar : doy, das, da, damos, dais, dan""") elif choix==6: fonction3() print(""" Choisir la forme du verbe :""") #On choisit la forme du verbe choix=int(input(""" 8. Verbe Régulier 7. Verbe Irégulier 9. Quitter le programme Rentrez votre choix : """)) if choix==8: print(""" Verbe Régulier : -o, -es, -e, -imos, -ís, -en""") elif choix==7: print(""" Verbe Irégulier : .ir : voy, vas, vas, vamos, vais, van .salir : salgo, sales, sale, salemos, saléis, salen .venir : vengo, vienes, viene, venemos, venéis, vienen .decir : digo, dices, dice, decimos, decís, dicen""") elif choix==9: print("Fin du programme") exit else: choix!=9 print("Valeur invalide") input() menu() elif choix==2: fonction5() print(""" Choisir un groupe :""")#Chosir le groupe choix=int(input(""" 4. Groupe en ER 5. Groupe en AR 6. Groupe en IR 9. Quitter le programme Rentrez votre choix : """)) if choix==4: fonction1() print(""" Choisir la forme du verbe :""") #On choisit la forme du verbe choix=int(input(""" 8. Verbe Régulier 7. Verbe Irégulier 9. Quitter le programme Rentrez votre choix : """)) if choix==8: print(""" Verbe Régulier : -é ,-ás,- á ,-emos ,-éis,- án""") elif choix==7: print(""" Verbe Irégulier : .CABER : cabré, cabrás,cabrá, cabremos, cabréis, cabrán .HABER : habré, habrás, habrá, habremos, habréis, habrán .HACER : haré, harás, hará, haremos, haréis, harán .PODER : podré, podrás, podrá, podremos, podréis, podrán .PONER : pondré, pondrás, pondrá, pondremos, pondréis, pondrán .QUERER : querré, querrás, querrá, querremos, querréis, querrán .SABER : sabré, sabrás, sabrá, sabremos, sabréis, sabrán .TENER : tendré, tendrás,tendrá, tendremos, tendréis, tendrán .VALER : valdré, valdrás, valdrá, valdremos, valdréis,valdrán""") elif choix==5: fonction2() print(""" Choisir la forme du verbe :""") #On choisit la forme du verbe choix=int(input(""" 8. Verbe Régulier 7. Verbe Irégulier 9. Quitter le programme Rentrez votre choix : """)) if choix==8: print(""" Verbe Régulier : -é ,-ás,- á ,-emos ,-éis,- án""") elif choix==7: print(""" Aucun Verbe Irrégilier""") elif choix==6: fonction3() print(""" Choisir la forme du verbe :""") #On choisit la forme du verbe choix=int(input(""" 8. Verbe Régulier 7. Verbe Irégulier 9. Quitter le programme Rentrez votre choix : """)) if choix==8: print(""" Verbe Régulier : -é ,-ás,- á ,-emos ,-éis,- án""") elif choix==7: print(""" Verbe Irégilier : .VENIR : vendré, vendrás, vendrá, vendremos, vendréis, vendrán .SALIR : saldré,saldrás, saldrá, saldremos, saldréis, saldrán .DECIR : diré, dirás, dirá, diremos, diréis, dirán""") elif choix==9: print("Fin du programme") exit else: choix!=9 print("Valeur invalide") input() menu() elif choix==3: fonction6() print(""" Choisir un groupe :""") choix=int(input(""" 4. Groupe en ER 5. Groupe en AR 6. Groupe en IR 9. Quitter le programme Rentrez votre choix : """)) if choix==4: fonction1() print(""" Choisir la forme du verbe :""") #On choisit la forme du verbe choix=int(input(""" 8. Verbe Régulier 7. Verbe Irégulier 9. Quitter le programme Rentrez votre choix : """)) if choix==8: print(""" Verbe Régulier : -í; - iste; -ió; -imos; -isteis; -ieron""") elif choix==7: print(""" Verbe Irégilier : .HABER: hube, hubiste, hubo, hubimos, hubisteis, hubieron .HACER: hice, hiciste, hizo, hicimos, hicisteis, hiciero .PODER : pude, pudiste, pudo, pudimos, pudisteis, pudieron .PONER : puse, pusiste, puso, pusimos, pusisteis, pusieron .QUERER : quise, quisiste, quiso, quisimos, quisisteis, quisieron .SABER : supe, supiste, supo, supimos, supisteis, supieron .TENER : tuve , tuviste, tuvo, tuvimos, tuvisteis, tuvieron .TRAER : traje, trajiste, trajo, trajimos, trajisteis, trajeron .SER/IR : fui, fuiste, fue, fuimos, fuisteis, fueron""") elif choix==2: fonction5() print(""" Choisir la forme du verbe :""") #On choisit la forme du verbe choix=int(input(""" 8. Verbe Régulier 7. Verbe Irégulier 9. Quitter le programme Rentrez votre choix : """)) if choix==8: print(""" Verbe Régulier : -é; -aste; -ó; -amos; -asteis; - aron""") elif choix==7: print(""" Verbe Irégilier : .DAR : di, diste, dio, dimos, disteis, dieron .ESTAR : estuve, estuviste,estuvo, estuvimos, estuvisteis, estuvieron .ANDAR : anduve, anduviste, anduvo, anduvimos, anduvisteis, anduvieron """) elif choix==6: fonction3() print(""" Choisir la forme du verbe :""") #On choisit la forme du verbe choix=int(input(""" 8. Verbe Régulier 7. Verbe Irégulier 9. Quitter le programme Rentrez votre choix : """)) if choix==8: print(""" Verbe Régulier : -í; - iste; -ió; -imos; -isteis; -ieron""") elif choix==7: print(""" Verbe Irégilier : .DECIR : dije, dijiste, dijo,dijimos, dijisteis, dijeron .VENIR : vine, viniste, vino, vinimos, vinisteis, vinieron .CONDUCIR : conduje, condujiste, condujo, condujimos, condujisteis, condujeron""") elif choix==9: print("Fin du programme") else: choix!=9 print("Valeur invalide") input() menu() elif choix==9: print("Fin du programme") exit else: choix!=9 print("Valeur invalide") input() menu() menu()