#自學
Python3: STAT 507 slides 03
鹹魚祖師🌈
3 years ago @Edit 3 years ago
.upper()
.lower()
.find()
.startwith()
range(n) 0 to n - 1
.append()
.extend()
.pop()
.remove()
res += elmt res = res + elmt
鹹魚祖師🌈
3 years ago @Edit 3 years ago
.split()
.join()
== equivalent
is identical
List is mutable. 可以置換elements,所以需要生成兩個物件
String is immutable. 不能置換elements,所以只需要生成一個物件