在编辑代码时输入的是中文字符,用浏览器打开时出现乱码,解决方案:
<html >
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
加上 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />就OK了
python程序设计基础3:python选择和循环结构,布布扣,bubuko.com
原文:http://blog.csdn.net/ikerpeng/article/details/21978951