PEP 313 - Roman numeral literals

phil hunt philh at cabalamat.org
Wed Apr 2 22:11:02 CEST 2003


On Wed, 02 Apr 2003 15:13:45 GMT, Anna <revanna at mn.rr.com> wrote:
>>> OK cleverclogs, how do we write 39?
>
>XXXIX
>
>I think what you need here is:
>3. At most three Is, Xs or Cs may appear *consecutively* in any given
>literal. 

The Romans generally preferred not to use the subtractive principle, 
hence: XXXVIIII

-- 
Philip Hunt <philh at cabalamat.org>

Interested in adventure holidays in Spain? 
Look at: <http://www.cabalamat.org/advcon/>




More information about the Python-list mailing list