from random import choice
nom = ["A", "B", "C", "D", "E", "F"]
hyperliens = [[4],[0,4],[0,5],[0,4],[1,2,3,5],[4]]
nbEtapes = 10 # on répète 10 fois
nbVisites = [0,0,0,0,0,0]
page = 0 # le depart est la page A (indice 0)
for i in range(nbEtapes):
    page = choice(hyperliens[page])
    print("Page actuelle : " + nom[page])
