Skip to content

Commit

Permalink
Update 9.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jackzhenguo authored Oct 3, 2021
1 parent 816cda6 commit 2516dc4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions md/9.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ In [1]: float('3')
Out[1]: 3.0
```

```python
import sys

In[4]: sys.float_info.max
Out[4]: 1.7976931348623157e+308
```

正无穷大、负无穷大
```python
float('inf') # 正无穷大
Expand Down

0 comments on commit 2516dc4

Please sign in to comment.