📜  慢打印python代码示例

📅  最后修改于: 2022-03-11 14:45:29.614000             🧑  作者: Mango

代码示例2
def slowPrint(string):
    for char in range(len(string)):
        print(string[char], end="")
        #time.sleep(x) can be used for a longer wait but is not needed...
        #for a noticable reduction in output speed
    print("")