You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are given a Roman Number and you have to validate whether its a valid number or not. If it is valid, print True or print False. Develop a regular expression for a valid Roman number.
Input Format
A string containing Roman Characters
Output Format
A one line string containing True or False
Constraints
The number will be between 1 and 3999 (both included)