Write a function in python to sort n numbers of integer stored in a list passed as parameter in
function selesort(L[],n)
Answers
Answered by
1
Explanation:
def selesort(L, n):
L.sort()
return L
n = int(input('enter how many numbers to sort:'))
L = []
for i in n:
num = int(input ('enter number:'))
L.append(num)
selesort(L,n)
Similar questions