2016-12-02 116 views

回答

0

函數定義的主體錯誤必須縮進。

錯誤:

def f(): 
print(1) 

右:

def f(): 
    print(1)