I am starting to learn to program with Python in Sublime Text, so I am taking a course on YouTube. In one part he teaches this example to learn "if" and "else":
print ("Access verification")
user_age = int (input ("Please enter your age"))
if user_age <18:
print ("You can't pass")
elif user_age> 100:
print ("Incorrect age")
else:
print ("You can pass")
print ("The program has ended")
But when I run the program (Tools> SublimeREPL> Python> RUN current file) I get this error:
File "conditionals2.py", line 1
SyntaxError: Non-ASCII character '\ xc3' in file conditionals2.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
*** Repl Closed *** This error only happens to me on Mac, if I run the exact same file on Windows it works. I already tried uninstalling and installing REPL but nothing happened