Skip to content

Conversation

Utkarshmalik99
Copy link

@Utkarshmalik99 Utkarshmalik99 commented Oct 6, 2020

Hey Derrick in line 3 of your code
indexing_length = range(0, len(list)-1)
it should be changed to
indexing_length = range(0, len(list_a)-1)
as you have forgot to put _a with the list.

and an indentation error in line 12 of your code
The "if min_value !=1" is not indented with the "for j", and this can cause some sort errors if the first element of the list is equal to the last element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant