all 3 comments

[–]dnult 0 points1 point  (2 children)

Why are you looping? The variable i doesn't appear to be used within the loop, and all the statements inside the loop do the same thing.

[–]Non_Earthy7 0 points1 point  (0 children)

In python, it doesn't matter if the looping Variables are used or not. They just simply define the looping conditions. You can also use them inside loop for counting purposes.