Learning Python(5.3):Answers

类别:软件工程 点击:0 评论:0 推荐:
5.3 String Formatting

A1: %g is same as "e" if exponent is greater than -4 or less than precision, "f" otherwise!

A2: In Chinese, left justification means '左对齐'. It adds some space in the right of a string.

A3: The width means the whole width of a string instead of before the decimal point!

Thank limodou very much to help me!

本文地址:http://com.8s8s.com/it/it33756.htm