You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for j in range(i+1,len(arr)): # here the range tells us which part of the list is sorted and which part of the list is not sorted by depending the index from the outer loop