摘要:1. 输出字符串 2. 格式化输出整数 支持参数格式化 >>> str = "the len '%s' is %d" %('Hello World',len('Hello World')) >>> print (strHello) the length of (Hello World) is 11
阅读全文
posted @ 2017-06-15 12:21
| 有声有色工作,有滋有味生活,有情有义做人 |
06 2017 档案
摘要:1. 输出字符串 2. 格式化输出整数 支持参数格式化 >>> str = "the len '%s' is %d" %('Hello World',len('Hello World')) >>> print (strHello) the length of (Hello World) is 11
阅读全文
posted @ 2017-06-15 12:21
|
||