Lists and collections / Lists

import copy

numbers1 = [12345]

# the first method
numbers2 = list(numbers1)

# the second method
numbers3 = numbers1[:]

# the third method with deep copy
numbers4 = copy.deepcopy(numbers1)

print(f'{id(numbers1) = }')
print(f'{id(numbers2) = }')
print(f'{numbers2 = }')
print(f'{id(numbers3) = }')
print(f'{numbers3 = }')
print(f'{id(numbers4) = }')
print(f'{numbers4 = }')