# Find the length of each string element in the Numpy array in Python # importing the numpy library as npimport numpy as np  # Create a numpy arrayarr = np.array(['New York', 'Lisbon', 'Beijing', 'Quebec'])  # Print the arrayprint(arr)