import time
length = 19
count = 0
while True:
print('\r%s@%s' % ('#' * count,'#' * (length - count)),end='')
try:
time.sleep(0.3)
except KeyboardInterrupt:
print('\nBye-bye')
break
if count == length:
count = 0
count +=1
#\r回车不换行 #\n回车换行 #\t空格