Here is my code:
def fibs(n):
count = 0
val1 = 1
val2 = 1
while count != n:
yield val1
count += 1
yield val2
count += 1
val1 += val2
val2 += val1
def main():
for curr in fibs(8):
print(curr)
When I upload this to gradescope it is telling me that the autograder failed to execute correctly. Can anyone guess why this is happening ?