... float 代表浮點數1.23float = 1.23# 將 ... 判斷是否為我們想要的型別。 # 使用isinstance() 函式,可以判斷變數是否為字串,int,list等。 isinstance ...
確定! 回上一頁