human
Can you show me a Python function to get the first number of floats.
assistant
Here is a Python function to get the first number of floats

import numpy as np

def get_first_number(number):
    """
    Returns the first number of the given float.
    """
    return number[0]

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

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

#Example Output
# 1

#Remember to inspect code for bugs.