Message from Python discussions

November 2018

— Do you know sorted() exists and you want to make your own sorted function? or its something else?

— 

Language:

py3


Source:
x = [4,57,23,64,1]
result = sorted(x)
print(result)


Result:
[1, 4, 23, 57, 64]

— So what kind of method does sorted() use?

— I think you need one more loop, you just loop one time to swap bigger number to the right side. But sometimes, a number needs many times to go to the right position.

Message permanent page

— And this is the slowest method of sorting I think, maximum times will be n^2 if there are n numbers.

— Hello guys, plz send me dictionary ane list example program

— Not clear logic list ane dictionary were will be used ane how to plz any clear those two terms

— Anyone knows about FIX protocol decoding in python?
FIX- Financial Information eXchange

— Github DOES have a search

— Thanks. I'll try

— Learn to use Google

— Ok tq👍