源代码
txt = "banana" x = txt.center(20) print(x)
运行结果