roman numeral to integer number

 try:

import roman

t=input("Enter The roman numeral:")

print(roman.fromRoman(t))

except Exception as e:

print(e)