def int_to_roman(num):
conv = (<EOL>("<STR_LIT:M>", <NUM_LIT:1000>),<EOL>("<STR_LIT>", <NUM_LIT>),<EOL>("<STR_LIT:D>", <NUM_LIT>),<EOL>("<STR_LIT>", <NUM_LIT>),<EOL>("<STR_LIT:C>", <NUM_LIT:100>),<EOL>("<STR_LIT>", <NUM_LIT>),<EOL>("<STR_LIT:L>", <NUM_LIT:50>),<EOL>("<STR_LIT>", <NUM_LIT>),<EOL>("<STR_LIT:X>", <NUM_LIT:10>),<EOL>("<STR_LIT>", <NUM_LIT:9>),<EOL>("<STR_LIT>", <NUM_LIT:5>),<EOL>("<STR_LIT>", <NUM_LIT:4>),<EOL>("<STR_LIT:I>", <NUM_LIT:1>)<EOL>)<EOL>roman = "<STR_LIT>"<EOL>i = <NUM_LIT:0><EOL>while num > <NUM_LIT:0>:<EOL><INDENT>while conv[i][<NUM_LIT:1>] > num:<EOL><INDENT>i += <NUM_LIT:1><EOL><DEDENT>roman += conv[i][<NUM_LIT:0>]<EOL>num -= conv[i][<NUM_LIT:1>]<EOL><DEDENT>return roman<EOL>
https://stackoverflow.com/questions/42875103/integer-to-roman-number
https://stackoverflow.com/questions/33486183/convert-from-numbers-to-roman-notation