Skip to content
This repository has been archived by the owner on Apr 28, 2021. It is now read-only.

Latest commit

 

History

History

2.SelectionSort

Tri par sélection

Algorithme de Selection Sort page 35

1️⃣ Créer un programme Python ayant comme nom de fichier, votre 🆔 Boréal précédé d'un b

Example de nom de fichier b300098957.py

2️⃣ Écrire le programme de tri par sélection dans une fonction ayant la signature suivante:

def selectionSort(arr):

Example:

print( selectionSort([5, 3, 6, 2, 10]) # Affiche le résultalt d'un Tri dans un ordre croissant

⚠️ Issue

#️⃣ Boréal 🆔 Execution Notation

🔖 Arrays vs List

https://www.programiz.com/python-programming/array