File "index.py", line 4 SyntaxError: Non-ASCII character '\xe6' in file index.py on line 4, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details是有什么問題嗎
?File "index.py", line 4
SyntaxError: Non-ASCII character '\xe6' in file index.py on line 4, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details是有什么問題嗎
2020-11-25
雙引號也可以吧
2020-09-18
不識別中文。
可以把中文改成英文,或者在開頭加一句:
或
2020-09-17
# Enter a code
age=11
if age>18:
??? print('成年人')
elif age>6:
??? print('青少年')
elif age>3:
??? print('小孩子')
else:
??? print('嬰兒')
2020-09-17
第四行有字符打錯了吧,代碼貼出來看下