Utf-8


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>

<What do you expect to happen instead?>

```python How to use utf-8 text in print?
<do not remove the three backticks above>

#2

Use standard unicode.

So use plain english text.

Not anything weird like:

( ͡° ͜ʖ ͡°)

Because it may give an error.


#3

How to use unicode for non-english?


#4

The foreign Python exercises should be adapted to handle your language.


#5

# -*- coding: utf-8 -*-

add that on top of your code


#6

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?


#7

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.