mirror of
https://github.com/bvanroll/college-python-image.git
synced 2025-08-29 03:52:48 +00:00
18 lines
271 B
Python
18 lines
271 B
Python
import classes
|
|
import sys
|
|
import os
|
|
|
|
|
|
def GetLowestVal(l):
|
|
for x, val in enumerate(l):
|
|
if val > 0:
|
|
return x
|
|
|
|
def GetHighestVal(l):
|
|
returnVal = 0
|
|
for x, val in enumerate(l):
|
|
if val > 0:
|
|
returnVal = x
|
|
return returnVal
|
|
|