Как создать динамический список в Python

# Elements can be dynamically added by calling list.append(), and removed by list.remove()

list = []

for i in range(4):
    list.append(i)

print(list)
"""OUTPUT
[0, 1, 2, 3]
"""

list.remove(1)

print(list)
"""OUTPUT
[0, 2, 3]
"""
OHIOLee