Immutable (không thể thay đổi sau khi tạo): int, float, str, tuple, frozenset, bytes.
- Mutable (có thể thay đổi tại chỗ):
list,dict,set,bytearray.
Pitfall: Không dùng mutable làm default argument — def func(lst=[]) sẽ share cùng list giữa các lần gọi.