Write a function sorting(L).

Chris Angelico rosuav at gmail.com
Fri Apr 21 16:02:42 EDT 2017


On Sat, Apr 22, 2017 at 5:58 AM, Mohammed Ahmed <moh.ahm1166 at gmail.com> wrote:
> Write a function sorting(L) that takes a list of numbers and returns the list with all
> elements sorted in ascending order.
> Note: do not use the sort built in function
>
> it is a python question

Yes, it is. It looks like the sort of question that you're supposed to
try to answer in order to learn how to write software. I suggest you
try to answer it.

ChrisA


More information about the Python-list mailing list