This episode of Python Programming Practice shows two approaches to LeetCode LeetCode - #13 Roman to Integer
https://leetcode.com/problems/roman-t...
This is an easy difficulty problem.
Note that the intent of this series to help viewers think through approaches to problems, not to provide copy/paste access to code that will pass LeetCode tests.