1. 判斷一個變數是否數字(整數、浮點數)? In [1]: isinstance(1, (int, long, float)) True. In [2]: isinstance ...
確定! 回上一頁