A whole group of methods that contain a series of data and manipulate the data is called an object.
Bike
Properties: Hand brakes, tires, foot pedal
Method: How to advance the method, control the stopping method, control the direction
Actual content
The love of men and women
Men and Men in love
Women and women in love
Method 1: Love at first sight
2. Composition of data types
Composed of 3 parts.
Identity ID method take a look at his unique identifier, memory address by this Oh!
Type a look at it.
The value data item.
The Pride of a book conclusion: Python is a pointer to everything, so you don't have to think about pointers!
3. Common basic data types.
int integral type
Boolean Boolean
String strings
List lists
Tuple Ganso
Dict Dictionary
4. Variable and immutable data types
Immutable type: int,string,tuple
Variable type: list,dict
5. Assignment of variables everything is quoted, and the dynamic and dynamic types are no longer dynamic
Python data Type a string