Create infinities Python Does Big Numbers

PHOTO EMBED

Mon Feb 28 2022 08:47:17 GMT+0000 (UTC)

Saved by @ghefley #python #math #physics #stem

# Infinity, and it's brother minus infinity, 
# comes in handy once in a while.


my_inf = float('Inf') 
99999999 > my_inf 
-> False 
 
my_neg_inf = float('-Inf') 
my_neg_inf > -99999999 
-> False 
content_copyCOPY

https://www.quora.com/What-are-some-cool-Python-tricks