+ 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>
6 odpowiedzi
+ 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?)
+ 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
+ 3
Do you use a normal text editor to write your code? Save it as a .py file with standard encoding
+ 3
Maybe because of some caracters that do not belong to the ascii set. Like HonFu says.
+ 1
Are you sure that you didn't removed " symbol?
+ 1
Yes