#Roman numeral calculator
first_str = raw_input('Enter the first Roman Number (with no spaces):')
first_str = first_str.upper()
print 'Print you entered', first_str,'for the first number.'
second_str = raw_input('Enter the second Roman Number (with no spaces):')
second_str = second_str.upper()
print 'Print you entered', second_str,'for the second number.'
I = 1
V = 5
X =10
L = 50
C = 100
so when I use first_str = int(first_str)
it doesnt work so it doesnt recognize it as a number, so if you could offer a start as how to get around this, i'd really appreciate it.

New Topic/Question
Reply



MultiQuote









|