I'm trying to write a program that will determine the total number of lines, columns, digits, as well as the maximum and minimum number. However it returns the wrong data and can't count any negative numbers. My program is...
Code:
max = 0
min = 0
def getMaxMin(digitsList):
global max
max = digitsList[0]
global min
min = digitsList[0]
for digit in digitsList: