human
Can you show me a Python function to access the first number in an integer.
assistant
Here is a Python function to access the first number in an integer

import math

def __get_first_number(number):
    """Return the first number in an integer."""
    return number[0]

# Enter the integer
number = [1, 2, 3]

# Calling the function
print((__get_first_number(number)))

#Example Output
# 1

#Remember to inspect code for bugs.