On 30/07/2016 13:22, Chris Angelico wrote:

print(*range(10), sep='\n')
0
1
2
3
4
5
6
7
8
9


Beat that, print statement.

for i in range(10): print i

Same number of characters, but a lot less punctuation!

--
Bartc

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to