human
Give me a Python program to take transpose of a matrix in Python.
assistant
Here is a Python program to take transpose of a matrix in Python

import numpy as np

def transpose(m):
    """
    >>> m = np.array([[1,2],[3,4]])
    >>> transpose(m)
    array([[1, 3],
           [2, 4]])
    """
    return m.T

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

# Calling the function
print((transpose(m)))

#Example Output
# [[1 3]
#  [2 4]]

#Remember to inspect code for bugs.