Python application for multilingual programming
To use multilingual
, check the following example for handling arithmetic
operations
from multilingualprogramming.numeral.mp_numeral import MPNumeral
## Roman numerals
num1 = MPNumeral("VII")
num2 = MPNumeral("III")
print(num1 + num2)
print(num1 - num2)
print(num1 * num2)
print(num1 // num2)
print(num1 % num2)
print(num1**num2)
This will give the following output:
X
IV
XXI
II
I
Resources: Resources and references to sources in different languages
There are two ways to contribute:
- Add a missing language in resources folder.
- Update resources related to the already existing languages. For example, in English.
- John Samuel
All code are released under GPLv3+ licence. The associated documentation and other content are released under CC-BY-SA.