# define your list
my_list = [1, 2, 3]

# append 4 to the end of the list
my_list.append(4)

# print the result
print(my_list)