import sys
for i in range(0,3):
sys.stdout.write('.')
from __future__ import print_function
#The following is the same as Python3 method
for i in range(0,3):
print('.', end="")
If you want to empty the buffer, write as follows
print('.',end="",flush=True)
© 2024 OneMinuteCode. All rights reserved.