Which of the following could you include in Python code to anticipate and catch an error?

A. for loop
B. try except block
C. function
D. user input

B. try except block