python方法center

时间:2025-01-05 05:07:46

1、1启动PYTHON3.7,如图所示

python方法center

3、3如图所示,字符串

python方法center

5、5 用符号填充

python方法center

7、7 比较效果,如图所示

python方法center
© 长短途