If any statement in the code block under the try keyword causes an exception ...

the Python interpreter will not try to execute the next statement

instead it will execute the statements in code block after except

Usually, the code after except simply prints an error message

Let's look at an example, square_number.py

#! /usr/bin/python3
# asks for a number and tries to square it.
# catches exception if use enters something that cannot be converted into a number
try:
number = (input("Number to square: "))
number = int(number)
print(number, "squared is", number ** 2)
except:
print("Error: ", number, "cannot be converted into an integer")

When I run this and enter text that can be converted into an integer ...

it prints the square of the number entered:

$ ./square_number.py
Number to square: 5
5 squared is 25

But when I enter text that cannot be converted ...

the statement after the statement that caused the exception ...

is not run

The code block after except is run instead

$ ./square_number.py
Number to square: five
Error: five cannot be converted into an integer

Returns the index of the first element whose value is equal to item.
A ValueError exception is raised if item is not found in the list.

insert(index, item)

Inserts item into the list at the specified index .
When an item is inserted into a list, the list is expanded in size to accommodate the new item.
The item that was previously at the specified index, and all the items after it,
are shifted by one position toward the end of the list.

sort()

Sorts the items in the list so they appear in ascending order (from the lowest value to the highest value)

remove(item)

Removes the first occurrence of item from the list.
A ValueError exception is raised if item is not found in the list.