# Write a Python program to Numpy np.char.endswith() method # import numpyimport numpy as np  # using np.char.endswith() methoda = np.array(['geeks', 'for', 'geeks'])gfg = np.char.endswith(a, 'ks')  print(gfg)