📅  最后修改于: 2022-03-11 14:46:35.235000             🧑  作者: Mango
import numpy as np
fruits = np.array(["Apple","Grapes","WaterMelon","Orange","Kiwi"])
last_fruit = fruits[-1]
print("The last fruit in the array is {} ".format(last_fruit))