How to use utf-8 text in print?
Use standard unicode.
So use plain english text.
Not anything weird like:
( ͡° ͜ʖ ͡°)
Because it may give an error.
How to use unicode for non-english?
The foreign Python exercises should be adapted to handle your language.
# -*- coding: utf-8 -*-
add that on top of your code
I tried to run:
-- coding: utf-8 --
grades = [100, 100, 90, 40, 80, 100, 85, 70, 90, 65, 90, 85, 50.5]
print "Градуси:", grades
but error occured:
File "python", line 0
SyntaxError: encoding declaration in Unicode string
What version of Python Codecademy use?
i dont know what version CA uses but, this platform is awesome and is faster then others in internet.
i use notepad++ and windows shell as well. maybe you search on net for Cyrillic characters in python.