Solution exercice 60: algorithme python qui détermine l'inverse d'une liste

Exercice 60

Ecrire un algorithme Python permettant d'inverser l'ordre des éléments d'une liste en utilisant la méthode reverse().
Exemple si L = ['Java' , 'Python' , 'PHP' , 'C++'] , l'algorithme renvoie la liste: ['C++' , 'PHP' , 'Python' , 'Java']

Solution





 

Younes Derfoufi
CRMEF OUJDA

loader-image
Le prix initial était : € 11,00.Le prix actuel est : € 10,00.
Le prix initial était : € 6,00.Le prix actuel est : € 5,00.



1 thought on “Solution exercice 60: algorithme python qui détermine l'inverse d'une liste”

Leave a Reply

Your email address will not be published. Required fields are marked *