I know this is a literal translation to keyword end, but unsure
sometimes (right now that is frequent) of where end goes. I know
there is one to end the method definition.
However adding one after the if and one after the else , or just one
for both conditions doesn’t seem to help.
def roman num
if num <= 4
i = 1
rn = (num/i)
else num >= 5 && num <= 9
v = 5
rn = (num/v)
rnm = (num%v)