Python dapatkan elemen terakhir dari iterator
*_, last = iterator # for a better understanding check PEP 448
print(last)
Important Ibex
*_, last = iterator # for a better understanding check PEP 448
print(last)