1. Create a program with a predefined list of people. Ask the user for his name, add it to the end of the list and print the updated list
people = ['John', 'Mary', 'David']
name = input("Enter your name: ")
people.append(name)
print("Updated list of people:", people)
people
list, and then it will print the updated list of people.Updated list of people: ['John', 'Mary', 'David', 'Alice']