Python 3 - Advanced List Code Challenges - Every Three Numbers

My solution isn’t as elegant as the given answer, but since in the console it’s showing what should be part of the answer, I don’t understand why when I click ‘Check answer’ it’s responding with what you can see in the above screen shot.

I’d be happy for help on this one.

Try calling your function twice (or more) in a single run of your program.

For Example,

print(every_three_nums(91))
print(every_three_nums(91))

// Expected Output:
[91, 94, 97, 100]
[91, 94, 97, 100]

// Actual Output:
?
?

Think about why the actual output of your function is different from the expected output.

Thanks a lot @mtrtmk, I’ve done so, and it makes sense now, I’ll try and correct the code in line with this revelation.

A good morning, afternoon, evening, night to you wherever you are.