In the python tutorial, from the example of Guido van rosum, we can see that he scored the popular scripting languages Perl, TCL, Ruby, Lua, and python.

Source: Internet
Author: User

In addition to alternative list implementations, the Library also offers other tools such asBisectModule with functions for manipulating sorted lists:

>>> Import bisect >>> scores = [(100, 'perl '), (200, 'tcl'), (400, 'lua'), (500, 'python')]> bisect. insort (scores, (300, 'Ruby ') >>> scores [(100, 'perl'), (200, 'tcl '), (300, 'ruby'), (400, 'lua'), (500, 'python')]
From: Python 2.6.1, Chapter II of brief tour of the standard library-part, tools for working with lists
Haha, obviously we can see the intention of Guido van rosum, expressed in scores, and then gave Perl 100 points, TCL 200 points, Ruby 300 points, and Lua 400 points, respectively, then it gave it the highest score of 500 for the Language Python :)
Others can understand ..... However, Ruby is behind Lua in its mind, which makes Ruby camp crazy -_-! Haha, although I have never learned Ruby, I have only learned Lua ......
Haha, just yy. This was accidentally obtained from the document :)
 
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.