示例:
a = [1, 3, 4, 5] b = [2, 3, 1, 5, 6]
如何获取数组a中的最后一个值5或数组b中的最后一个值6,而不使用a[3]和b[4]
a
5
b
6
a[3]
b[4]
https://stackoverflow.com/questions/8639773
相似问题