Town Field Poem:
Cheng listens to the Tathagata language, the world name and benefit of Dayton. Be willing to do the Tibetan apostles, The broad show is by Sanfu Mention.
I would like to do what I learned, to achieve a conscience blog. May all the yimeimei, reproduce the wisdom of the Body.
——————————————————————————————————————————
Code
mylist=[1,3,2,5,61,123] #从小到大排序myList. sort () print (myList) #从大到小排序myList. sort (reverse = True) print (myList)
Result
——————————————————————————————————————————
The essence of the blog, in the technical part, more in the town yard a Poem. Python version 3.5, system Windows7.
Python is a good language and deserves to be studied Hard. I am following the small turtle Video tutorial to learn, Recommended.
I am a novice, so if the content of the blog can be improved, or even the wrong place, please leave a comment, I will try to correct, strive to achieve a conscience blog.
Note: This article is only as a scientific research study, if I inadvertently violated your rights and interests, please be sure to timely inform, I will make Corrections.
Python3 base sort from small to large sorted sort from large to small (reverse = True)