feat(solution): problem #99

main
steven 2023-08-01 14:58:05 -04:00
parent f24722d42b
commit 41f2e5a758
3 changed files with 2018 additions and 0 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,16 @@
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)