1)python文件名爲.py
2)# -*-coding :utf-8 -*- 中文用戶必須加,防止亂碼
3)#單行註釋 ''' 多行註釋
4)導入其他代碼 import
5)使用4個空格縮進,沒有分號
6)def 函數聲明 使用:結束聲明