human
Give me a Python function to value on gaussian.
assistant
Here is a Python function to value on gaussian

import numpy as np

def gaussian(x, mu, sigma):
  """
  Returns the value of the gaussian function at x.

  :param x:
  :param mu:
  :param sigma:
  """
  return 1 / (sigma * np.sqrt(2 * np.pi)) * np.exp(-(x - mu) ** 2 / (2 * sigma ** 2))

# Enter the values
x = 1
mu = 2
sigma = 3

# Calling the function
print((gaussian(x, mu, sigma)))

#Example Output
# 0.12579440923099774

#Remember to inspect code for bugs.