id() 함수를 통한 mutable 객체와 immutable 객체 비교mutable 객체는 생성 후에도 변경이 가능한 객체이며, 수정 가능한 특징을 지녔다.(list, dict, set, 사용자 정의 클래스)immutable 객체는 생성 후에 변경이 불가능하며, 값을 변경하려면 새로운 객체를 생성해야 하는 특징을 지녔다.(int, float. str, tuple, bytes)비교보기# immutable 객체: inta = 10print("a의 id:", id(a)) # 예: 140732497872016a += 1 # 새로운 객체가 생성됨print("a의 id after += 1:", id(a)) # 새로운 id# immutable 객체: strs = "hello"print("s의 id:", id(s..