+ 1

hello world

Why if you change the text in the lesson about "Hello world" you receive an error message? Traceback (most recent call last): File "..\Playground\", line 1, in <module> \ufeffprint('\u043f\u043e\u043f\u0434\u043b\u043e\u0434\u043b') File "..\Playground\", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode characters in position 0-7: character maps to <undefined>

10th May 2019, 3:48 PM
Š˜Š’ŠŠ ŠŸŠ£ŠŸŠšŠ˜Š
Š˜Š’ŠŠ ŠŸŠ£ŠŸŠšŠ˜Š - avatar
6 Answers
+ 5
On Sololearn, there's sometimes trouble when you use letters that don't belong to the ASCII set. (Did you try to use emoji for example?)
10th May 2019, 4:28 PM
HonFu
HonFu - avatar
+ 4
Sorry bro but I think u have removed important symbols such as () that are necessary to use with print statement. print("Hii !") Output-- Hii ! Thanks
10th May 2019, 3:52 PM
Prince PS[Not_Active]
Prince PS[Not_Active] - avatar
+ 3
Do you use a normal text editor to write your code? Save it as a .py file with standard encoding
10th May 2019, 4:16 PM
Anna
Anna - avatar
+ 3
Maybe because of some caracters that do not belong to the ascii set. Like HonFu says.
10th May 2019, 4:46 PM
Werg Serium
Werg Serium - avatar
+ 1
Are you sure that you didn't removed " symbol?
10th May 2019, 3:50 PM
itsQuasarāœ…
itsQuasarāœ… - avatar
+ 1
Yes
10th May 2019, 3:53 PM
Š˜Š’ŠŠ ŠŸŠ£ŠŸŠšŠ˜Š
Š˜Š’ŠŠ ŠŸŠ£ŠŸŠšŠ˜Š - avatar