You can't modify immutable Python objects, you may simply create new objects with new values:

```
n = 1
id(n)
output: 123
n = n + 1
id(n)
output: 140

```

You can modify mutable objects though:

```
m = [1]
id(m)
output: 210
m.append(2)
id(m)
output: 210

```

I'm wandering, what is the closest concept to Python's mutable/immutable objects in C/C++?