Write two functions: one that converts a number to a Roman numeral and another that converts a Roman numeral back to a number.
Implement int_to_roman(num) and roman_to_int(roman) for canonical Roman numerals from 1 through 3999. For grading, expose convert_roman(num, roman), which returns both results as {"int_to_roman": string, "roman_to_int": integer}.
def convert_roman(num, roman):