**イミュータブル(不変)**なオブジェクトは作成後に変更できません。**ミュータブル(可変)**なオブジェクトは変更できます。この区別は Python の中心であり、エイリアス、dict のキー、関数の引数、そして一群の巧妙なバグに影響します。
2 つのカテゴリ
text
Immutable: int, float, bool, str, tuple, frozenset, bytes, None
Mutable: list, dict, set, bytearray, and most custom objects
イミュータブル:「変更」は新しいオブジェクトを作る
python
x =
x.upper()
x +=
n =
n +=
