Skip to content
Snippets Groups Projects
Select Git revision
  • 28dedc53377a62892f1317d9bcafd5d1761b4c06
  • main default protected
2 results

TD2 Deep Learning.ipynb

Blame
  • Forked from Dellandrea Emmanuel / MOD_4_6-TD2
    Source project has a limited visibility.
    listes-liee-boucle.py 283 B
    from liste_liee import *
    
    ll = liste_liee() # Ajout de données
    ll.push(20) 
    ll.push(4) 
    ll.push(15) 
    ll.push(10)
       
    # Création d'une boucle
    ll.head.next.next.next.next = ll.head; 
      
    if( ll.detectLoop()): 
        print ("Il y a une boucle !") 
    else : 
        print ("Pas de boucle ! ")