Right now, my code is correctly spitting out the first game (identified by start_id) in games. I am trying to increment in the bottom two lines, but the while loop doesn't seem to read the fact that I'm incrementing. So the input of this with start_id 800 and end_id 802 is just the information from 800, for some reason.
Am I using the incrementers correctly? Should I be initializing one of i or start_id elsewhere?
games = console(start_id, end_id)
final_output = 
while start_id < (end_id + 1):
single_game = 
i = 0
game_id = games[i]
time_entries = games[i]
play_entries = games[i]
score_entries = games[i]
team_entries = games[i]
bovada = games[i]
at_capacity = games[i]
idisagree_yetrespect_thatcall = games[i]
imsailingaway = games[i]
homeiswheretheheartis = games[i]
zipper = zip(time_entries, play_entries, score_entries, team_entries)
for play_by_play in zipper:
start_id += 1
i += 1
Your problem is that you initialize the increment-er
i inside the
while loop so every time your loop iterates
i is reset to zero.
Try changing it to:
i = 0 while start_id < (end_id + 1): ...