Q. Arrays in python are implemented through lists. Write a program that sorts an array of integers in ascending order.



Answer = 


a = eval(input ("Enter the list :- "))
a.sort()
print (a)


2 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post