質問編集履歴

2

文法の修正

2020/07/09 06:45

投稿

daiki__1019
daiki__1019

スコア17

test CHANGED
@@ -1 +1 @@
1
- Pythonのサンプルコードのエラーが解決できません。SyntaxError: 'ascii' codec can't decode byte 0xe4 in position 0: ordinal
1
+ Pythonのサンプルコードのエラーが解決できません。Non-ASCII character
test CHANGED
File without changes

1

文法の修正

2020/07/09 06:45

投稿

daiki__1019
daiki__1019

スコア17

test CHANGED
File without changes
test CHANGED
@@ -86,7 +86,9 @@
86
86
 
87
87
  ```
88
88
 
89
- コードは上記のもので、エラー文は> SyntaxError: 'ascii' codec can't decode byte 0xe4 in position 0: ordinal not in range(128)
89
+ コードは上記のもので、エラー文は> File "Functional.py", line 2
90
+
91
+ SyntaxError: Non-ASCII character '\xe4' in file Functional.py on line 2, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
90
92
 
91
93
 
92
94