Writing contains(mouse) to output

We need to see it properly indented, as indenting carries meaning in Python:

But for a start, note that your if test uses a single = rather than ==, and that “correct” shouldn’t be in quotes (in effect, you are comparing two different strings of characters, which will always be unequal, by definition.