Q13Single correct4 Marks30 Apr 2023
What will be the output of the following Python code?
```
def new_fun(a):
s_l = []
while a != []:
x = a[0]
for i in a:
if i < x:
x = i
a.remove(x)
s_l.append(x)
return s_l
L = [6, 2, 9, 8]
print(new_fun(L))
```