Expand a list by adding slots between each index

April - 2022
my_list = [1, 2, 3, 4]
slot = 0

while(slot <= len(my_list)):
	print(my_list)
	my_list.insert(slot, '.')
	slot += 2

print(my_list)

Output:

[1, 2, 3, 4]
['.', 1, 2, 3, 4]
['.', 1, '.', 2, 3, 4]
['.', 1, '.', 2, '.', 3, 4]
['.', 1, '.', 2, '.', 3, '.', 4]
['.', 1, '.', 2, '.', 3, '.', 4, '.']