[Tutor] What’s the differences between these two pieces of code ?
redstone-cold
redstone-cold at 163.com
Sat Jul 7 06:59:26 CEST 2012
What’s the differences between these two pieces of code ?
(1)
for i in range(1, 7):
print(2 * i, end=' ')
(2)
for i in range(1, 7):
print(2 * i, end=' ')
print()
when executed both respectively in Python shell ,I get the same effect . Who can tell me why ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120707/855bd6ce/attachment-0001.html>
More information about the Tutor
mailing list