September 25th, 2004, 09:33 AM
script to convert Roman numbers in to arabic
I need a python script that converts roman numbers into our known arabic numbers.
So when you for example write the roman number 'IX' it will print the number '9'
September 25th, 2004, 03:32 PM
September 25th, 2004, 06:01 PM
The excellent book 'Dive Into Python' by Mark Pilgrim uses this problem for the chapters on unit testing and test-driven development.
The book is available free online. The relevant chapters start here.
Dave - The Developers' Coach
September 25th, 2004, 11:19 PM
This also came up on the forum last year, so if your still looking for more info maybe you could find that. If not, i'd go with Dive into Python.
On an unrelated note: I recently saw this book in a book shop! Which shocked me slighly, but hey . It is out there for those who can't stand e-books.