Why Are Special Characters Not Accepted


Hi there!
Why doesn’t it accept the á in Olá or 你好 (meaning Hi/ hello) in the print statement?
Thank you!

FAQ: Learn Python - Python Syntax - Print Statements

Hi @anapitta,

Python is expecting you to use ASCII characters only, since Codecademy’s Python environment doesn’t specify a specific character encoding for it to use. The link in the error message gives some more information: https://www.python.org/dev/peps/pep-0263/.