MC
This commit is contained in:
@@ -14,7 +14,7 @@ def minimum(data):
|
|||||||
|
|
||||||
def bounds(data):
|
def bounds(data):
|
||||||
"Returns a list of the smallest and largest numbers in data"
|
"Returns a list of the smallest and largest numbers in data"
|
||||||
return min(data), max(data)
|
return [min(data), max(data)]
|
||||||
|
|
||||||
def clamp(value, low, high):
|
def clamp(value, low, high):
|
||||||
"""Clamps a value to a range from low to high.
|
"""Clamps a value to a range from low to high.
|
||||||
|
Reference in New Issue
Block a user