Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

infinity in python

# Defining a positive infinite integer 
positive_infnity = float('inf') 
print('Positive Infinity: ', positive_infnity) 
  
# Defining a negative infinite integer 
negative_infnity = float('-inf') 
print('Negative Infinity: ', negative_infnity)
 
PREVIOUS NEXT
Tagged: #infinity #python
ADD COMMENT
Topic
Name
2+4 =