Computer Science, asked by anshgahlot76, 7 months ago

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 yamanjaikumar
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