在Python 當中,若是我們有比較變數資料型態的需求,我們可以使用isinstance() 來取代type()。這是因為isinstance() 在確認資料型態上速度比type() ...
確定! 回上一頁