# 2018-08-06 19:42:51
import time # 调用时间模块
num = 97 # 字母a
while num <= 115: #
print(chr(num), end='', flush=True) # flush=True用一行输出一行
time.sleep(0.5) # 延迟0.5毫秒
num += 1
运行结果:
abcdefghijklmnopqrstuvwxyz