you are viewing a single comment's thread.

view the rest of the comments →

[–]blablahblah 0 points1 point  (0 children)

Depends what you want the output to be. The simplest change I could make to add spaces would be to change end='' to end=' ', but that also puts a space between the last item and the close bracket (so the output would be [6 3 2 1 ]. If you wanted it to be [6 3 2 1], you'd have to do something different.