Python ValueError: Array ukuran nol untuk pengurangan operasi maksimum yang tidak memiliki identitas
#In this situation, the easiest solution is often:
try:
# Your code
except ValueError: #raised if `x` is empty.
pass
Powerful Penguin