Explain the difference between a list and a tuple in Python.
Implement compare_list_tuple(list_values, tuple_values). The inputs are JSON arrays representing a Python list and the values used to construct a Python tuple. Return a dictionary describing their types, mutability, indexability, hashability, and lengths. Assume all values are hashable scalar values, so the constructed tuple is hashable.
Signature: def compare_list_tuple(list_values, tuple_values):
list_values is a Python list after JSON decoding.tuple_values is a JSON array converted to a Python tuple.tuple_values are hashable scalar values.def compare_list_tuple(list_values, tuple_values):