Write a function sorting(L).

Rob Gaddi rgaddi at highlandtechnology.invalid
Fri Apr 21 16:15:47 EDT 2017


On 04/21/2017 01:04 PM, Mohammed Ahmed wrote:
> On Friday, April 21, 2017 at 10:02:55 PM UTC+2, Chris Angelico wrote:
>> 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
>
> i tried a lot but i can't answer it so i thought of getting some help here
>

Have you tried a) Googling for information on sorting algorithms and 
then b) implementing one in Python?


-- 
Rob Gaddi, Highland Technology -- www.highlandtechnology.com
Email address domain is currently out of order.  See above to fix.



More information about the Python-list mailing list