⇤ ← Revision 1 as of 2006-03-24 02:33:52
Size: 604
Comment:
|
Size: 1462
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 18: | Line 18: |
---- '''Example 14.3 的注释1第1句''' * romanNumeralMap is a tuple of tuples which defines three things: * romanNumeralMap 是一个 <!> 用来定义三个内容的元组的元组 ^元组的元组,定义了三方面的内容^: ---- '''Example 14.3 的注释1第1点''' * 1.The character representations of the most basic Roman numerals. Note that this is not just the single-character Roman numerals; you're also defining two-character pairs like CM (“one hundred less than one thousand”); this will make the toRoman code simpler later. * 1. <!> ^代表^大部分罗马数字 <!> ^的^字符。 注意不只是 <!> 罗马数字的单字符 ^单字符的罗马数字^,你同样在这里定义诸如 CM (“ <!> 比一千少一百 ^表示900^”)的双字符,这可以 <!> 另^让^稍后编写的 toRoman 简单一些。 ---- |
2006-03-24 校对记要
校对文件: roman.xml
第14章第2节 roman.py, 第2阶段
第3行
- This file is available in py/roman/stage2/ in the examples directory.
这个程序可以
从 在例子目录下的 py/roman/stage1/ 的 examples 目录中
获得 找到 。
Example 14.3 的注释1第1句
- romanNumeralMap is a tuple of tuples which defines three things:
romanNumeralMap 是一个
用来定义三个内容的元组的元组 元组的元组,定义了三方面的内容:
Example 14.3 的注释1第1点
- 1.The character representations of the most basic Roman numerals. Note that this is not just the single-character Roman numerals; you're also defining two-character pairs like CM (“one hundred less than one thousand”); this will make the toRoman code simpler later.
1.
代表大部分罗马数字
的字符。 注意不只是
罗马数字的单字符 单字符的罗马数字,你同样在这里定义诸如 CM (“
比一千少一百 表示900”)的双字符,这可以
另让稍后编写的 toRoman 简单一些。