range in py code example
Example 1: for i in range start
for i in range([start], stop[, step])
Example 2: 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