How to fix ValueError: operands could not be broadcast together with shapes in Python | DevErrors