Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math
- menos_infinito = float('-inf')
- mas_infinito = float('inf')
- NaN = float('nan')
- print(menos_infinito)
- print(mas_infinito)
- print(NaN)
- print(math.isinf(menos_infinito))
- print(math.isinf(mas_infinito))
- print(math.isnan(NaN))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement