I'm making a python project and I needed to print the rules on the screen. I'm using the simplegui module and here is what I have.
text = """You will be given a number
and a number of operations. The number
on the top is the answer to the problem.
You must fill the blanks with numbers that
make the answer. Hit enter when you are
done, hit delete to go back."""
canvas.draw_text(text, (150, 250), 30, 'white')
It gave me the error:
ValueError: text may not contain non-printing characters
How could I fix this bug?