Python built-in methods

Source: Internet
Author: User
1, Min (): The minimum value is taken from a list, and Max () is the inverse.
2, Boll (): Judging the boll value in parentheses, except 0 and false, the others are true.
3, All (): Returns True if there is a value of false in the list, and False if the value is all true. If the list is a null value, Boll ("") is false, but all ("") is true.
4. Any (): Returns True if there is a value of true in the list.
5, dir (): Print all the variables that exist in the current program, including the system's own variables.
6, Hex (): Bar a number to 16 binary. Oct (): Bar a number is converted to 8 binary. Bin () to 2 binary:
7.

Python built-in methods

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.