Objects
string 是 对象
s = "Hello"
s.upper() # 'HELLO'
s.lower() # 'hello'
s.swapcase() # 'hELLO'
a = 'A'
ord(a) # 65 对应的 ACSII 数
hex(ord(a)) # '0x41' 是 65 对应的 16进制Object can change
tuples
相同与改变
一些陷阱

Last updated