源代码
txt = "Hello!\nAre you #1?" x = txt.isprintable() print(x)
运行结果