Lambda expression, this bird thing is to define a function in one line of statements.
Http://woodpecker.org.cn/diveintopython/power_of_introspection/lambda_functions.html
>>> def f (x):
... Return x*2 ...
>>> F (3)
6
>>> g = lambda x:x*2 >>> g (3)
6
>>> (lambda x:x*2) ( 3) # 6
The List is the most frequently used data type in Python.
http://woodpecker.org.cn/diveintopython/native_data_types/lists.html#d0e5762
#/usr/bin/env python
li = []
print Li
li.append (' Sam ')
print Li
li.insert (1, ' Hello ')
Print Li
li.extend ([' Hi ', ' Tom '])
print Li
li.remove (' Hi ')
print Li
print li.index (' Sam ')
Dictionary is one of the built-in data types of Python, which defines a one-to-one relationship between keys and values.
http://woodpecker.org.cn/diveintopython/native_data_types/index.html#d0e5309
DIC = {}
dic["1"] = "2"
dic["2"] = 2
dic[1] = 2
print dic
del dic["1"]
print dic
dic.clear () C7/>print DIC