human
What is a good Python program to get average numbers in list.
assistant
Here is a Python program to get average numbers in list

import math

def get_average(list):
    """Gets the average of a list of numbers."""
    return sum(list) / len(list)

# Enter the list
list1 = [1, 2, 3]

# Calling the function
print((get_average(list1)))

#Example Output
# 2.0

#Remember to inspect code for bugs.