1
Loading subject content…
Loading subject content…
Loading practice questions…
What is the output of the following code?
a = [64, 25, 12, 22, 11]
for i in range(len(a)):
j = a.index(min(a[i:]), i)
a[i], a[j] = a[j], a[i]
if i == 1:
break
print(a)