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  ?
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to