Telephone Directory

Solved
```python
def menu():
choix = input("0-quitter\n1-écrire dans le répertoire\n2-rechercher dans le répertoire\nVotre choix ?")
return choix

while True:
choix = input("0-quitter\n1-écrire dans le répertoire\n2-rechercher dans le répertoire\n\nVotre choix ?")
choix = int(choix)

if choix == 0:
print("Vous avez quitté cette page")
break

elif choix == 1:
print("Nom (0 pour terminer): \nTéléphone: ")
# insérer le programme de saisie
break

elif choix == 2:
print("Entrez un nom : \nLe numéro recherché est : ")
# insérer le programme de recherche
break

else:
continue
```

2 answers

  1. Contributor
    Hello, can you mark this discussion as resolved or follow up on it?
    1. Yes yes no problem thank you :D
    2. It seems I can't :/ I wrote this post as a new user, and since then I have signed up, so I can't edit this post... what can I do?
    3. @yg_beoh well great thank you very much! :D
      Have a nice day and thanks for the help :)