human
Write me a Python program to normalize an array with maximum value.
assistant
Here is a Python program to normalize an array with maximum value

import numpy as np

def normalize(array, max_value):
    r"""Normalize an array in the range [0, max_value].

    Examples:

    >>> normalize([1, 2, 3], 10)
    [0.1, 0.2, 0.3]

    """
    return array / max_value

# Enter the array
array = np.array([1, 2, 3])

# Enter the maximum value
max_value = 10

# Calling the function
print((normalize(array, max_value)))

#Example Output
# [0.1 0.2 0.3]

#Remember to inspect code for bugs.