people = ["Alice", "Bob", "Charlie"]
# Ask the user for their name
name = input("Enter your name: ")
# Add the user's name to the list
people.append(name)
# Print the updated list
print("Updated list of people:", people)
people list and print the updated list.["Alice", "Bob", "Charlie"], but you can modify it to include any names you want.