1.
python 不能識別Windows關於UTF-8的編號, 參見http://stackoverflow.com/questions/878972/windows-cmd-encoding-change-causes-python-crash
可以chcp 936
切到默認的GBK
python 不能識別Windows關於UTF-8的編號, 參見http://stackoverflow.com/questions/878972/windows-cmd-encoding-change-causes-python-crash
可以chcp 936
切到默認的GBK
1.while循環的格式 while 條件: 條件滿足時,做的事情1 條件滿足時,做的事情2 條件滿足時,做的事情3 ...(省略)... demo