0

when the user gives a name, I want the program to remove that name from the list of names and output the new list.

names = ["John","Scott","Alice"]
userInput = input("enter name: ")
# code that removes the value of userInput from names
print(names)

thanks for reading.

0 Answers0