代码实现

#coding=utf-8
import sys,time

list_A = ['兄','第','们','干','啥','呢''!','!','!','!']
for i in range(4):
for j in range(len(list_A)):
sys.stdout.write(list_A[j])
sys.stdout.flush()
time.sleep(0.2)

gif录制出来的效果

python实现自动输出文字小demo(cmd下)_cmd