I want to print this character "¥" in python 2.7.
Here is my code:
test = "¥"
print(test)
I execute this code and I get this error message:
SyntaxError: Non-ASCII character '\xc2' in file main.py on line 5, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
How to print this character? Thanks in advance