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
Hi @ramitmittal , the capital I was a typo sorry.
We should have the "bold" line also can you please confirm? Otherwise "smallest" will always be the initial value arr[0]
if arr[i] < smallest:
smallest_index = i smallest = arr[i]
Hi,
Current
if arr[i] < smallest: smallest_index = I
should be
if arr[i] < smallest: smallest_index = i smallest = arr[i]
The text was updated successfully, but these errors were encountered: