Convert a decimal number to binary and hexadecimal.
Write a function that takes an integer n and returns both its binary and hexadecimal representations. Use standard base conversion rules, and preserve the sign for negative numbers.
def convert_number(n):
n: an integer(binary_str, hex_str).def convert_number(n):