Tuples & Lists

1.tuples的优点
2.dot(.)的用法

everything is python is an object

3.split的用法

以某个元素为分割点,对string进行分割(还包括分割的次数)

https://my.oschina.net/hkmax/blog/146553

4.join的用法

L = ['a', 'b', 'c'] L is a list
''”.join(L) returns"abc"
'_'.join(L) returns"a_b_c"

5.L.sort vs sorted(L)

6.remove,del,pop
7.Python doesn't update the counter

8.map

results matching ""

    No results matching ""