16 lines
370 B
Python
16 lines
370 B
Python
from bignums import *
|
|
|
|
biggestIndex = 0
|
|
biggestValue = 0
|
|
currentIndex = 1
|
|
|
|
for i in dataTable:
|
|
currentValue = i[0] ** i[1]
|
|
print("current index:",currentIndex)
|
|
if currentValue > biggestValue:
|
|
biggestValue = currentValue
|
|
biggestIndex = currentIndex
|
|
currentIndex += 1
|
|
|
|
|
|
print("The index of the largest exponential value is: ", biggestIndex) |