generated from mwc/lab_scatter
made code
This commit is contained in:
@@ -10,3 +10,5 @@
|
||||
- ...
|
||||
- Plot the points.
|
||||
- ...
|
||||
|
||||
make the scatter plot and draw some points on the scatter plot
|
||||
11
transform.py
11
transform.py
@@ -8,9 +8,16 @@ def maximum(data):
|
||||
"Returns the largest number in data"
|
||||
raise NotImplementedError
|
||||
|
||||
def minimum(data):
|
||||
def minimum(5,10,15):
|
||||
lowest = None
|
||||
for number in data:
|
||||
if lowest is None:
|
||||
lowest = number
|
||||
if number < lowest:
|
||||
lowest = number
|
||||
return lowest
|
||||
"Returns the smallest number in data"
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
def bounds(data):
|
||||
"Returns a list of the smallest and largest numbers in data"
|
||||
|
||||
Reference in New Issue
Block a user