不知道哪里错了
print u'''静夜思
床前明月光,
疑是地上霜。
举头望明月,
低头思故乡。'''
这样写也报错了
运行失败
Traceback (most recent call last): File "index.py", line 7, in 低头思故乡。''' UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)
print u'''静夜思
床前明月光,
疑是地上霜。
举头望明月,
低头思故乡。'''
这样写也报错了
Traceback (most recent call last): File "index.py", line 7, in 低头思故乡。''' UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)
2019-08-14
举报