Hey everyone, I am just starting to learn iteration in Python. I am stuck on an assignment that my teacher gave me. I am supposed to make a code to display this:
So far my code is this:
All it does is put out the numbers 1 through 8. I can get it to do numbers 1 through 8 in all odd also. I just haven't figured out how to make the negatives alternate. Any help would be amazing!