from dict_op import * def main(): """ Different dicts for testing. """ d1 = {} """ Define five more dictionary for efficent testing here. """ d2 = {'a': 100, 'b': 5, 'c': 1, 'd': 40} d3 = {'hello':1} d4 = {'a': 100, 'b': 100, 'c': -1, 'd': 40} d5 = {'a': 100, 'b': 'hello', 'c': 1, 'd': 40} d6 = {} # to be updated. """ Six test cases for the function get_max_value. """ print(f"get_max_value({d1}): {get_max_value(d1)}") print(f"get_max_value({d2}): {get_max_value(d2)}") print(f"get_max_value({d3}): {get_max_value(d3)}") print(f"get_max_value({d4}): {get_max_value(d4)}") try: print(f"get_max_value({d5}): {get_max_value(d5)}") except Exception as e: # 'e' is the exception object; printing it shows the specific error message print("An error occurred:", e) print("Error type:", type(e).__name__) # dunder print(f"get_max_value({d6}): {get_max_value(d6)}") """ Six test cases for each of the other functions to be completed by you. """ if __name__ == '__main__': main()