Merge pull request #9 from Eskibear/patch-3
Update p16_reformat_text_to_fixed_number_columns.rst
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
----------
|
||||
解决方案
|
||||
----------
|
||||
使用 ``textwrap`` 模块来格式化字符串的输出。比如,加入你有下列的长字符串:
|
||||
使用 ``textwrap`` 模块来格式化字符串的输出。比如,假如你有下列的长字符串:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
|
||||
Reference in New Issue
Block a user