import time
def threedot():
time.sleep(0.5)
print '.',
time.sleep(0.5)
print '.',
time.sleep(0.5)
print '.'
threedot()
When the above code is run, the interpreter waits 1.5 seconds and then prints '. . .'; rather than wait 0.5 seconds in-between printing '.'. Why is this? (on python 2.7.3)