Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

find the range in python

def find_range(n):
    lowest = min(n)
    highest = max(n)
    # Find the range
    r = highest - lowest
    
    return lowest, highest, r
  
# src : Doing Math With Python
 
PREVIOUS NEXT
Tagged: #find #range #python
ADD COMMENT
Topic
Name
8+4 =