Question: This is supposed to be in Python, I can only figure out the first fuction part of the code but I'm not undertsanding the pseudo-code

This is supposed to be in Python, I can only figure out the first fuction part of the code but I'm not undertsanding the pseudo-code for the second function.
Write a program that converts a Roman number such as MCMLXXVIII to its decimal number representation. Hint: First write a function that yields the numeric value of each of the letters. Then use the f ollowing al gorithm total 0 While the roman number string is not empty If value(first character) is at least value(second character), or the string has length 1 Add valuelfirst character) to total. Remove the character. Else Add the difference, value(second character)-value(first character), to total Remove both characters
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
