[Python] python supported data types and copy depth analysis

1.python supported data types:

Number (Digital)

String (String)

List (list)

Tuple (tuple)

Set (collection)

Dictionary (dictionary)

Variable data type 2.python data types: a list of immutable data dictionary collection types: numeric string tuple

3.list dictionary and sub-normal assignment, deep and shallow copy copy 

 

 

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/dulking/p/12007216.html