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:
Does anyone know of an approximation to raising a negative base to a
fractional exponent? For example, (-3)^-4.11111 since this cannot be
computed without using imaginary numbers. Any help is appreciated....