Files
college-python-image/projecten1/logic.py
2018-07-24 15:40:59 +02:00

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