Create Python function that takes a nxn matrix as an input and performs a Gaussian blur on said matrix
system
paythan fnction banaaen jo ek NXN matrix ko ek input ke rup main letaa he or ukt matrix par ek gaausi bler karata he
user
avashya!yahan code he jo ek NXN matrix letaa he or us par ek gaausi dhabba karata he:

CV2 aayaat karen
aayaat karnaa

# ek matrix banaaen
matrix = []
pankti = []
# vaanchit matrix aakaar ke saath n ko badalen
ke liye main xrange (n) main:
    pankti = []
    J ke liye Xrange (n):
        # vaanchit mulyon ko joden, jaise "0" yaa "je"
        row.append (0)
    matrix.append (pankti)

def gaussian_blur (matrix, kernel_size, sigma):
    # matrix par gausian bler karen
    blurred_matrix = cv2.gaussianblur (matrix, karnel_siz, sigma)

    Blurred_matrix lauten
assistant
<|system|>
</s>
<|user|>
paythan fnction banaaen jo ek NXN matrix ko ek input ke rup main letaa he or ukt matrix par ek gaausi bler karata he</s>
<|assistant|>
avashya!yahan code he jo ek NXN matrix letaa he or us par ek gaausi dhabba karata he:

CV2 aayaat karen
aayaat karnaa

# ek matrix banaaen
matrix = []
pankti = []
# vaanchit matrix aakaar ke saath n ko badalen
ke liye main xrange (n) main:
    pankti = []
    J ke liye Xrange (n):
        # vaanchit mulyon ko joden, jaise "0" yaa "je"
        row.append (0)
    matrix.append (pankti)

def gaussian_blur (matrix, kernel_size, sigma):
    # matrix par gausian bler karen
    blurred_matrix = cv2.gaussianblur (matrix, karnel_siz, sigma)

    Blurred_matrix lauten</s>
