Insertion Sort Implementation

Complete insertion_sort(items) so it sorts the list into ascending order using insertion sort (growing a sorted partition, as covered in the lesson) - not bubble sort's adjacent-swap approach. Input is a comma-separated list of integers.

main.py
Loading editor…

Console

Run your code to see output here.