Which a difference. My question is simpler because I want a Bubble sort who print each step despite Stewie question "
favorite
1
Create a function or program that takes two inputs:
A list of integers that shall be sorted (less than 20 elements)
A positive integer, N, saying how many comparisons you should take
The function shall stop, and output the resulting list of integers after N comparisons. If the list is fully sorted before N comparisons are made, then the sorted list should be outputted."