The assert keyword in Python lets you test if a condition in your code returns True, if not, the program will raise an AssertionError.