Can this insertion sort program be improved in any way? Please suggest something in terms of efficiency and lines of code as well.
def insort(lst):
for i in range(len(lst)-1):
l = i + 1
for j in range(l, -1, -1):
print(j)
if j == 0:
break
if lst[j] < lst[j-1]:
lst[j], lst[j-1] = lst[j-1], lst[j]
return lst
data = input("Enter the numbers separated by spaces: ")
print(insort(list(map(int, data.split()))))