Python Roman classDefines numbers which are read and written using Roman notation, so that II + II = IV | |
Download |
Python Roman class Ranking & Summary
Advertisement
- License:
- BSD License
- Price:
- FREE
- Publisher Name:
- Vernon Cole
- Publisher web site:
- https://launchpad.net/~vernondcole
Python Roman class Tags
Python Roman class Description
Defines numbers which are read and written using Roman notation, so that II + II = IV python Roman class is a demonstration of creating a class which is a subset of integers.It may be useful for such applications as numbering American football superbowls and page numbers before page 1. It is a fairly complete implementation including mathematical operations, and can be used somewhat like the Decimal module.It makes full use of Roman numeral unicode code points to handle numbers in the range zero to 599,999, and it has an optional method to produce pure unicode Roman characters, such as u216b for the number twelve (rather than the ASCII 'XII') in case you are making clock faces. This module was inspired by PEP 313. Requirements: · Python
Python Roman class Related Software