认识python中的inf和nan. python中的正无穷或负无穷,使用float("inf")或float("-inf")来表示。 这里有点特殊,写成:float("inf"),float("INF") ...
確定! 回上一頁