Trying to print out the specific value from the following Map
Map strokes = [1000:['M','?','?'],
100:['C','D','M'],
10:['X','L','C'],
1:['I','V','X']]
In other words, if I have a value of 1234 I want it based on a switch statement print out in Roman Numeral format. Which means I want the value of M to print out and C and C and X and X and X and I and V which would then put everything together into the value of MCCXXXIV.
So far at this point, I am trying to print out the first Character from the Key List of 1000.
I am only able to get the entire values from the Key List 1000
Output ['M','?','?']