結果 : typecast from nonetype to integer in python