human
Can you show me a Python program to generate white noise in Python.
assistant
Here is a Python program to generate white noise

import numpy as np

def generate_white_noise(size=None):
    """
    Generate white noise.
    """
    return np.random.normal(0, 1, size)

# Enter the size of the random number
size = 10

# Calling the function
print((generate_white_noise(size)))

#Example Output

# [ 1.18182222 -1.60437377 -0.5637851  -0.55669496 -0.12077908  0.08904838
#   1.51420532  0.68447639 -1.37995746 -0.53514194]

#Remember to inspect code for bugs.