为什么报这个错:SyntaxError: Non-ASCII character '\xe5' in file test.py on line...
# -*- conding: utf-8 -*-
d = {
95: 'Adam',
85: 'Lisa',
59: 'Bart',
72: 'xd'
}
if 72 in d :
print "72存在"
else:
d[72]='Paul'
print d
# -*- conding: utf-8 -*-
d = {
95: 'Adam',
85: 'Lisa',
59: 'Bart',
72: 'xd'
}
if 72 in d :
print "72存在"
else:
d[72]='Paul'
print d
2018-04-20
举报