You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while j < 4: #index starts at 0 and there are only 4 pages
allthenums = [float(inner_dict['Amount']) for inner_dict in Transactions[j]] #grabs values of the key 'Amount' within the list nested in Transactions as a float
pageBalance = sum(allthenums)
runningbal.append(pageBalance)
j += 1
print "\n" + "Your current balance on this credit card is: $" + str(sum(runningbal))