摘要:
s='hello,python' '''居中对齐''' print('居中对齐,空间长度为20,空部分用*填充',s.center(20,'*')) #center翻译为居中 print('左对齐,空间长度为20,空部分用*填充',s.ljust(20,'*')) #just翻译为 只是; 正好; 阅读全文
posted @ 2022-09-04 10:38
蓝绝
阅读(74)
评论(0)
推荐(0)
2022年9月4日 #
2022年9月3日 #
2022年9月2日 #