python--type

Source: Internet
Author: User

What is the case with parentheses (functions?) use the function to do what it wants to do with parentheses, to understand this function without?? ), under what circumstances without parentheses

1, negative sign index and the length of the type simple add position is the same

2, X[i:j]: Remove in X from the offset of I, until but not including the offset of the content of J.

3. The meaning of an operation depends on the object being manipulated.

4. Each object in Python is variable or immutable, and in the core type, numbers, strings, and tuples are immutable, and lists and dictionaries are mutable.

5. In general, variable names that begin with a double underscore and end are named patterns used to represent Python implementation details.

6, a list of one of the sequence.

7, the Python list and other language arrays are somewhat similar. The list has no fixed-type constraints, no fixed size, and is mutable.

python--type

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.