此方法可以判斷輸入是否為數字,包含分數為66.5這樣的包含.5(0.2或者0.6 ... try: float(s) return True except ValueError: pass try: import ...
確定! 回上一頁