1a = [1, 2, 3]
2print(a.remove(2))
3print(a)
4try:
5    a.remove(2)
6except ValueError:
7    print("Raised ValueError")
8else:
9    raise AssertionError("Did not raise ValueError")
10