点击运行
#!/usr/bin/python3 str = "this is string example....wow!!!" print ("str.center(40, 'a') : ", str.center(40, 'a'))
运行结果 :
正在执行...