""" Let us now write code to do the following: • Create a list with eight integer values • Display the entire list • Display each integer value from the list """ numbers = [1, 2, 3, 4, 5, 6, 7, 8] print(numbers) print("For loop") for number in numbers: print(number) print("Append") numbers.append(9) print(numbers) print("Remove") numbers.remove(2) print(numbers) print("len") print(len(numbers)) print("change values") numbers[0] = 10 print(numbers) """ Let us now write code to do the following: • Create an initial list without any values • Display the initial list not containing any values • Prompt the user to insert six String values in the list • Display the current list containing the six String values • Prompt the user to remove a String value from the list • Display the current list containing the five values • Prompt the user to remove another String value from the list • Display the final list containing the remaining four values • Display the total count of all String values stored in the final list """ newlist = [] print(newlist) for i in range(6): newlist.append(input("Enter a string: ")) print(newlist) newlist.remove(input("Enter a string to remove: ")) print(newlist) newlist.remove(input("Enter another string to remove: ")) print(newlist) print("Length of the list is " , len(newlist))