1
\$\begingroup\$

This question already has an answer here:

I've often come across answers like this:

Python3, 40 bytes

i=0
while i>10:
    i+=1
    print(str(i))

When you could golf it down to

Python3, 33 bytes

for i in range(10): print(str(i))

Should you edit it, or leave it how it is and leave a helpful comment?

\$\endgroup\$

marked as duplicate by Alex A. Feb 4 '16 at 21:02

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 4
    \$\begingroup\$ Leave a comment, don't edit. \$\endgroup\$ – Alex A. Feb 4 '16 at 21:02

Browse other questions tagged .