#!/usr/bin/env python3
"""function np_shape(matrix): calculates the shape of a numpy.ndarray"""


def np_shape(matrix):
    """
    INPUT: numpy.ndarray
    OUTPUT: matrix's shape
    """
    return matrix.shape
