emilienschultz / pyshs-bib

MIT License
9 stars 4 forks source link

TypeError dans tri_a_plat #9

Closed leomignot closed 3 years ago

leomignot commented 3 years ago

tri_a_plat renvoie une Type Error pour les variables de type float, int et bool

TypeError: '<' not supported between instances of 'str' and 'float' TypeError: '<' not supported between instances of 'str' and 'int' TypeError: '<' not supported between instances of 'str' and 'bool'

L'erreur ne se produit pas avec les mêmes variables dans tableau_croise.

emilienschultz commented 3 years ago

Effectivement, corrigé en forçant la mise sous forme string de l'index.